Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #416442

    Hi,
    After I updated the Enfold-theme to 3.1.1 (from 3.0.8) I get these waring-messages:

    Displayed on top on every page, back-end and when not logged in:
    Warning: array_merge(): Argument #2 is not an array in /www/wp-content/themes/enfold/framework/php/class-style-generator.php on line 96

    Displayed on the “Theme update”-page in “Enfold Theme Options”:
    Warning: Invalid argument supplied for foreach() in /www/wp-content/themes/enfold/framework/php/class-htmlhelper.php on line 966
    Warning: Invalid argument supplied for foreach() in /www/wp-content/themes/enfold/framework/php/class-htmlhelper.php on line 1561
    Warning: Invalid argument supplied for foreach() in /www/wp-content/themes/enfold/framework/php/class-htmlhelper.php on line 1561
    Warning: Invalid argument supplied for foreach() in /www/wp-content/themes/enfold/framework/php/class-htmlhelper.php on line 1561
    Warning: Invalid argument supplied for foreach() in /www/wp-content/themes/enfold/framework/php/class-htmlhelper.php on line 1561
    Warning: Invalid argument supplied for foreach() in /www/wp-content/themes/enfold/framework/php/class-htmlhelper.php on line 1600

    What can I do to fix the warnings?

    Thank you!

    #416907

    Hey enestedt!

    please try to increase your php memory limit. If you can’t do it yourself, contact your host.
    Hope this helps! If not, do you mind providing us admin access? so we can take a deeper look into the issue. Post login details here as private reply.

    Cheers!
    Andy

    #417059

    I increased the memory limit and the warning messges disappeared. Thank you for your help!

    I have discovered another error after the update. When I’m editing a product in WooCommerce I can not view/hide the boxes in WordPress, for example the product category box or the WordPress SEO Yoast box. There seem to be a javascript issue. I can view/hide the boxes when I’m editing a normal page or post, it’s only when I’m editing a product this problem appears.

    When I look in firebug I’ll get this error message:
    “Error: cannot call methods on sortable prior to initialization; attempted to call method ‘toArray'” – http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js (rad 2, kol 1808)

    Do you know why this issue appears?

    Thank you!

    #417082

    Hi!

    Can you please try de-activating all active plugins and check if that helps? Then you can activate them one by one to find the culprit

    Best regards,
    Yigit

    #417189
    This reply has been marked as private.
    #417635

    Hi,
    We have de-activated the plugin “WooCommerce Compare Products PRO” (Version 2.2.1) and then it works to show/hide the boxes when editing a product. Do you know why this conflict appears? Is there anything we can do to make Enfold 3.1.1 and “WooCommerce Compare Products PRO” version 2.2.1 to work together?

    Thank you!

    #417932

    Hi!

    Can you please try contacting plugin authors as they should have better insight on what could be causing the issue?
    Also, Enfold version 3.1.2 is now available. Please try updating the theme and check if it helps

    Best regards,
    Yigit

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.