Tagged: ajax search
-
AuthorPosts
-
July 28, 2020 at 4:55 am #1233649
After Enfold update to version 4.7.5 Ajax search broke.
Have tried clear .htaccess, all plugins off etc – the result is:
Ajax works only with Woocommerce off.I do need direct assistance ASAP.
July 30, 2020 at 4:52 am #1234051Hey Tiidus,
Sorry for the late reply. Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardJuly 30, 2020 at 5:13 am #1234057This reply has been marked as private.August 2, 2020 at 4:12 am #1234546Hi,
Thanks for that. Could you try to update to the latest version of the theme (4.7.6.1) to see if that helps please? If not then please try to disable all plugin except WooCommerce to see if that makes any difference.
Best regards,
RikardAugust 2, 2020 at 10:15 am #1234578Hi Rikard,
It’s all done on development copy before bothering you – did not make difference. Now everything up to date on live site also. Issue stays there.
I tested Ajax product search with a random theme this morning with success. So it is Enfold-Woocommerce conflict probably..Tiit
August 6, 2020 at 5:05 am #1235579Hi,
Thank you for the update.
Could you provide the info of the development version so that we can check the site properly? We will also need to access the file server so that we can edit the theme or the WordPress installation if necessary. Please post the WP and FTP details of the dev site in the private field.
Best regards,
IsmaelAugust 6, 2020 at 1:25 pm #1235699Here you are, the access to development site:
August 10, 2020 at 7:10 am #1236382Hi,
Thank you for the update.
We found the issue in the themes\enfold\config-woocommerce\config.php around line 1956:
foreach( $tax_query as $value ) { $params['tax_query'][] = $value; }
For some reason, tax query is not set or found as string. To fix the issue, we added a condition around it.
if(isset($params['tax_query'])) { foreach( $tax_query as $value ) { $params['tax_query'][] = $value; } }
Best regards,
IsmaelAugust 10, 2020 at 7:50 am #1236391All good now.
Thank You Ismael !
August 10, 2020 at 10:18 pm #1236520Hi,
Did you need additional help with this topic or shall we close?
Best regards,
Jordan ShannonAugust 11, 2020 at 3:11 am #1236552Hey!
According to our developer, this patch is already available in the latest version of the theme and the site it turned out contains an older version. Please upgrade to version 4.7.6.2 to get the latest patch.
Thank you for your patience.
Cheers!
IsmaelAugust 11, 2020 at 5:39 am #1236567Hi,
For testing purpose upgraded theme on development site and Enfold 4.7.6.2 broke Ajax again. For me works the fix made by Ismail, which i applied to live site and this way we are good at the moment. But generally the issue is still there – can’t use regular updates.Tiit
August 13, 2020 at 3:40 am #1237214Hi,
Thank you for the info. We’ll forward it to our channel. Please keep the modifications for now.
Best regards,
IsmaelAugust 13, 2020 at 4:16 pm #1237466Hi,
Thank you for giving us access to your dev server.
Finally I could locate the problem: $params was not an array but a query string.
I added in line 1628 (enfold\config-woocommerce\config.php):
$params = wp_parse_args( $params );
This should fix the problem.
Best regards,
GünterAugust 16, 2020 at 9:15 am #1238104Hi, Günter!
Everything works fine now with Enfold latest version 4.7.6.3.Case closed.
Thanks to all moderators!August 16, 2020 at 9:35 pm #1238276Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Ajax search issue: admin-ajax.php error 500’ is closed to new replies.