7 replies
Anyone understand how to fix this error I'm getting after I upgrade to latest version.

PHP Fatal error: Access level to WC_Product_Variable::check_stock_status() must be public (as in class WC_Product) in /home4/XXX/public_html/wp-content/plugins/woocommerce/includes/class-wc-product-variable.php on line 655
#error #woocommerce
  • Profile picture of the author PeachCoding
    The only way I have been able to fix that error for several sites/clients has been to download the latest version of the woocommerce WP plugin and then uploading the new files via FTP over the files on the website.

    After doing so the problem was solved every time. Not sure that this is what you need, but more than likely that will fix your problem too.

    Hope this helps.
    Signature

    Services offered: PSD to Wordpress, Joomla, Drupal Templates or Full Site, Custom PHP or C# Programming, Fix problems on any software, and more.

    You will get 25% OFF all services by mentioning the Warrior Forum. PM me here or email me to ivanphp404@gmail.com if interested and/or if you have questions.

    {{ DiscussionBoard.errors[10478367].message }}
  • Profile picture of the author PeachCoding
    Oh ok then. Hmmmm. Past the general solution I gave above, then you'll (or a hired developer of your choice) will have to look through the code & apache logs to find out and fix the problem causing the error message.

    As based on your original description and your answer to my help I'm now aware that the problem is deeper than a generalized problem.

    If you want to PM me the access/login information I might be able to fix it for your but without access to the site and the problem not being a generalized problem it would involve a search & debug by an experienced coder (like myself) going thru the files and logs.
    Signature

    Services offered: PSD to Wordpress, Joomla, Drupal Templates or Full Site, Custom PHP or C# Programming, Fix problems on any software, and more.

    You will get 25% OFF all services by mentioning the Warrior Forum. PM me here or email me to ivanphp404@gmail.com if interested and/or if you have questions.

    {{ DiscussionBoard.errors[10478429].message }}
    • Profile picture of the author SteveJohnson
      Originally Posted by PeachCoding View Post

      Oh ok then. Hmmmm. Past the general solution I gave above, then you'll (or a hired developer of your choice) will have to look through the code & apache logs to find out and fix the problem causing the error message.

      As based on your original description and your answer to my help I'm now aware that the problem is deeper than a generalized problem.

      If you want to PM me the access/login information I might be able to fix it for your but without access to the site and the problem not being a generalized problem it would involve a search & debug by an experienced coder (like myself) going thru the files and logs.
      Good grief.

      The only problem is that the one-click update failed. It happens. Corrupt ZIP file, whatever. Delete the plugin files and upload new ones. Problem solved.

      Are you just trolling for work with all of these flaky answers?
      Signature

      The 2nd Amendment, 1789 - The Original Homeland Security.

      Gun control means never having to say, "I missed you."

      {{ DiscussionBoard.errors[10479172].message }}
      • Profile picture of the author PeachCoding
        Originally Posted by SteveJohnson View Post

        Good grief.

        The only problem is that the one-click update failed. It happens. Corrupt ZIP file, whatever. Delete the plugin files and upload new ones. Problem solved.

        Are you just trolling for work with all of these flaky answers?


        That is your opinion and you're entitled to it. So by all means you can think what you want.

        The way I see it looking for work is not a bad thing, as sitting on my behind and letting the government support me and my family is never going to be something I'd do. I'm really glad to tell that you have never been in between jobs and looking for work, very good for you.

        Furthermore if you were to read my first answer to this post (which you conveniently ignored) you would see I said to upload the new files via FTP to fix the issue; but I guess that post wasn't open for you to complaint about.

        Hope you have a great day.
        Signature

        Services offered: PSD to Wordpress, Joomla, Drupal Templates or Full Site, Custom PHP or C# Programming, Fix problems on any software, and more.

        You will get 25% OFF all services by mentioning the Warrior Forum. PM me here or email me to ivanphp404@gmail.com if interested and/or if you have questions.

        {{ DiscussionBoard.errors[10479214].message }}
  • Profile picture of the author SteveJohnson
    I saw your first answer, you should have just stuck with it.

    Blatant self-promotion used to be frowned upon here, I guess it isn't any more.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[10479276].message }}
  • Profile picture of the author PeachCoding
    Thanks for the advice, and have a great weekend.
    Signature

    Services offered: PSD to Wordpress, Joomla, Drupal Templates or Full Site, Custom PHP or C# Programming, Fix problems on any software, and more.

    You will get 25% OFF all services by mentioning the Warrior Forum. PM me here or email me to ivanphp404@gmail.com if interested and/or if you have questions.

    {{ DiscussionBoard.errors[10479282].message }}

Trending Topics