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

    #328881

    Hi armindoerr!

    Please try re-updating the theme via FTP and make sure to overwrite all files – http://vimeo.com/67209750

    Regards,
    Yigit

    #328921
    This reply has been marked as private.
    #328936

    Hey!

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

    #328988

    Login should work now.

    Thanks.

    #328994

    Hey!

    It does work fine on my end – http://i.imgur.com/eCZKbEb.png
    Please flush browser cache and refresh your page a few times

    Cheers!
    Yigit

    #329041

    As I wrote, only my frontpage (“Home”) is affected.

    You choosed “AGB” and they work for me as well. So please check “Home”.

    #329510

    Hey!

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

    #329590

    Hi,

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

    #330065

    Hi!

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

    #330145

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

    #331374

    Hey!

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

    #331540

    Hi Arvish,

    thanks, it works now.

    Armin

    #331799

    Hey!

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

    Edit: 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.
Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Layout Builder isn't loading after update to 3.0’ is closed to new replies.