Skip to content
Public Ticket #22212

error ajax search

Conversation thread

firosyd replied

Customer Reply

Hi there,

Yes, I did as you recommended and the Search turned to work in our site without error.

Thanks a lot!

PenciDesign Supporter replied

Staff Reply

Hi,

Please try to re-update the theme & the plugin "Penci Shortcodes & Performance" and try it again.

1/ You can re-update the theme by editing the code like on the image below:

b8FsK2Z.png

After that, go to Appearance > Theme > click on the "Update Now" button to re-update the theme.
Note: Make sure you do follow this guide: https://pencidesign.ticksy.com/article/15633/ to enable auto-update the theme with one click.

2/ You can re-update the plugin "Penci Shortcodes & Performance" by go to Dashboard > Plugins > All Plugins > deactivate & delete plugin "Penci Shortcodes & Performance"
After that, go to Appearance > Install Plugins > re-install the plugin "Penci Shortcodes & Performance".

When you have done that, clear all the cache and check it again.

Regards,
PenciDesign.

firosyd started the conversation

Conversation Start

Hi there,

We are living the problem in website, but it is stranger, for it doesn't show everywhere.

For example, in desktop it can ocurring, but in mobile it is more constant.

The error is when we do a search on Home (accessing by mobile). We are using the plugin Ajax Search Pro.

Please see the log:

Fatal error: Uncaught Error: Call to undefined function wc_clean() in /home/customer/www/legalsaber.com.br/public_html/wp-content/themes/soledad/inc/ajax-search.php:440 Stack trace: #0 /home/customer/www/legalsaber.com.br/public_html/wp-content/themes/soledad/inc/ajax-search.php(372): penci_sku_search_query_new(' AND (((tnm_pos...', 'Rosh hashanxC3xA1') #1 /home/customer/www/legalsaber.com.br/public_html/wp-includes/class-wp-hook.php(309): penci_product_search_sku(' AND (((tnm_pos...') #2 /home/customer/www/legalsaber.com.br/public_html/wp-includ es/plugin.php(235): WP_Hook->apply_filters(' AND (((tnm_pos...', Array) #3 /home/customer/www/legalsaber.com.br/public_html/wp-includes/class-wp-query.php(2152): apply_filters_ref_array('posts_search', Array) #4 /home/customer/www/legalsaber.com.br/public_html/wp-includes/class-wp-query.php(3586): WP_Query->get_posts() #5 /home/customer/www/legalsaber.com.br/public_html/wp-includes/class-wp.php(648): WP_Query->query(Array) #6 /home/customer/www/legalsaber.com.br/public_html/wp-i in /home/customer/www/legalsaber.com.br/public_html/wp-content/themes/soledad/inc/ajax-search.php on line 440
 

Do you any hint about that?

Thanks 

 

Want to join this conversation or access attachments? Sign in first.