Tagged: 

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #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.

    #1234051

    Hey 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,
    Rikard

    #1234057
    This reply has been marked as private.
    #1234546

    Hi,

    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,
    Rikard

    #1234578

    Hi 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

    #1235579

    Hi,

    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,
    Ismael

    #1235699

    Here you are, the access to development site:

    #1236382

    Hi,

    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,
    Ismael

    #1236391

    All good now.

    Thank You Ismael !

    #1236520

    Hi,

    Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1236552

    Hey!

    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!
    Ismael

    #1236567

    Hi,
    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

    #1237214

    Hi,

    Thank you for the info. We’ll forward it to our channel. Please keep the modifications for now.

    Best regards,
    Ismael

    #1237466

    Hi,

    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ünter

    #1238104

    Hi, Günter!
    Everything works fine now with Enfold latest version 4.7.6.3.

    Case closed.
    Thanks to all moderators!

    #1238276

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Ajax search issue: admin-ajax.php error 500’ is closed to new replies.