-
AuthorPosts
-
October 2, 2014 at 10:45 am #328818
Hi,
I can no longer edit my frontpage after updating to 3.0. I get the following messages:
Warning: extract() expects parameter 1 to be array, null given in /homepages/1/d227302576/htdocs/f10_neu/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/productslider.php on line 203
Fatal error: Call to undefined function woocommerce_product_subcategories() in /homepages/1/d227302576/htdocs/f10_neu/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/productslider.php on line 274
Can you please check that?
Thanks,
ArminOctober 2, 2014 at 12:58 pm #328881Hi armindoerr!
Please try re-updating the theme via FTP and make sure to overwrite all files – http://vimeo.com/67209750
Regards,
YigitOctober 2, 2014 at 1:42 pm #328921This reply has been marked as private.October 2, 2014 at 2:03 pm #328936Hey!
Login credentials do not seems to work. Please check them once again. Have you tried de-activating all active plugins and check if that helps?
Cheers!
YigitOctober 2, 2014 at 3:08 pm #328988Login should work now.
Thanks.
October 2, 2014 at 3:15 pm #328994Hey!
It does work fine on my end – http://i.imgur.com/eCZKbEb.png
Please flush browser cache and refresh your page a few timesCheers!
YigitOctober 2, 2014 at 4:03 pm #329041As I wrote, only my frontpage (“Home”) is affected.
You choosed “AGB” and they work for me as well. So please check “Home”.
October 3, 2014 at 7:49 am #329510Hey!
Have you tried to deactivate the plugins? Please deactivate woocommerce then edit the page. The product slider will be converted to text block. Remove it then activate woocommerce again. Edit the page then add the product sliders.
Best regards,
IsmaelOctober 3, 2014 at 10:48 am #329590Hi,
I deleted the product slider and deactivated all plugins. But when I activate woocommerce again, the error comes back.
Can you please fix that?
Thanks,
ArminOctober 4, 2014 at 4:11 am #330065Hi!
Try using the Revisions tool to restore the page to a point where the page is still editable and re-add the product slider element, i was able to do that in a test page called “Test” in your installation.
Regards,
JosueOctober 4, 2014 at 9:44 am #330145Hi Josue,
I’m not sure if you read carefully. What I did:
1. Disable WooCommerce. Then site was editable.
2. Deleted product slider
3. Saved page
4. Activated WooCommerce
5. Error arises again (with deleted product slider)Just did that whole process again and it’s repeatable. So I can’t fix that myself. Please can you fix that!
Thanks,
ArminOctober 7, 2014 at 5:42 am #331374Hey!
This is a temporary fix to your solution.
I have added the following at the end of your functions.php file:
// temporary fix for woocommerce 2.2+ and enfold 3+: woocommerce_product_subcategories() not available in admin mode add_action('woocommerce_init', function() { if ( ! function_exists( 'woocommerce_product_subcategories' ) ) include_once( __DIR__.'/../../plugins/woocommerce/includes/wc-template-functions.php' ); } );
The error is gone but we shall be looking into the issue to provide you with a more permanent solution.
Cheers!
ArvishOctober 7, 2014 at 1:15 pm #331540Hi Arvish,
thanks, it works now.
Armin
October 7, 2014 at 5:42 pm #331799Hey!
this is very weird nonetheless and I cannot reproduce the issue on my local installation. Mind posting your ftp credentials so I can take a look if all the files are updated correctly. If thats the case then there is something weird going on here and I am not quite sure how easy it is to find a permanent fix (the solution posted for you is too dirty to include permanently ;D )
Cheers!
KriesiEdit: nevermind just noticed that you already posted them ;)
Edit2: think I found a better solution, will add it to the next patch ;)- This reply was modified 10 years, 1 month ago by Kriesi.
-
AuthorPosts
- The topic ‘Layout Builder isn't loading after update to 3.0’ is closed to new replies.