Tagged: error, theme update, warning
-
AuthorPosts
-
March 23, 2015 at 4:28 pm #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 96Displayed 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 1600What can I do to fix the warnings?
Thank you!
March 24, 2015 at 5:43 am #416907Hey 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!
AndyMarch 24, 2015 at 1:58 pm #417059I 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!
March 24, 2015 at 3:03 pm #417082Hi!
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,
YigitMarch 24, 2015 at 5:15 pm #417189This reply has been marked as private.March 25, 2015 at 10:01 am #417635Hi,
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!
March 25, 2015 at 5:16 pm #417932 -
AuthorPosts
- You must be logged in to reply to this topic.