• Resolved skeythay

    (@skeythay)


    This is the prompt I’m getting on multiple sites that have all been updated.

    Theme_Builder_Woocommerce_Product_Variable_Placeholder::get_available_variations() should be compatible with WC_Product_Variable::get_available_variations($return = ‘array’) in /home/sameche15/public_html/www.website.net/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/WoocommerceProductVariablePlaceholder.php on line 8

    How do I fix this?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Which version of the Divi theme is being used on the site?

    Thread Starter skeythay

    (@skeythay)

    Version: 4.5.7.
    All of my sites with Woocommerce are on this latest version of Divi. and all of them have this message

    I have this same error as well below
    Declaration of ET_Theme_Builder_Woocommerce_Product_Variable_Placeholder::get_available_variations() should be compatible with WC_Product_Variable::get_available_variations($return = ‘array’) in /var/www/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/WoocommerceProductVariablePlaceholder.php on line 8

    Got it! update your divi theme to the latest version to fix the issue

    more info below:
    https://divigallery.com/divi-changelog/

    how to update to latest Divi version
    https://www.elegantthemes.com/documentation/divi/update-divi/

    Amber

    (@deliveryofhappy)

    I have the same issue, but the advice above directs me to login to wordpress to update the theme – yet I can’t log in due to the above error. Any advice?

    Amber, you have to login to your PHPadmin file and go to WP_content > plugins and then remove woocommerce etc.

    Amber,

    IF you have FTP access or file manager access in your hosting to your website, go under /wp-content/themes and delete the DIVI file. This will cause wordpress to revert to one of the default themes. Don’t worry! You wont lose anything. Then you will be able to log in, and after downloading the most current version of DIVI from Elegant Themes, you can install it and activate it like normal. this will fix the problem!

    • This reply was modified 4 years, 3 months ago by Beyond130.
    • This reply was modified 4 years, 3 months ago by Beyond130.
    [email protected]

    (@angelagayehorngmailcom)

    Thanks @genos4u deleting the plugin worked. I’m back in and the error is gone. Whew! ??

    THANK YOU ALL SO MUCH!!! YOU SAVED ME HOURS OF WORK!!@GENOS4U

    @amber

    An alternative to the ftp solution.

    I had to have my host update my php to the latest version to be able to access the wp-admin panel. Then I was able to update Divi which resolved the issue.

    Hi there,

    This thread has been inactive for a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Woocommerce Update Issue With Product Variable’ is closed to new replies.