WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] WooCommerce Fatal error (8 posts)

  1. gatlas
    Member
    Posted 1 year ago #

    Hi. This is my first wordpress site using the woocommerce plugin. I get the following error when i go to the site, however, if I refresh the page the error goes away and the site functions normally.

    Fatal error: Class 'WC_Product_Simple' not found in D:\Hosting\10686736\html\wp-content\plugins\woocommerce\classes\class-wc-product-factory.php on line 62

    I did try uninstalling and re-installing the wooCommerce plugin. The site is CollierNY.com. If anyone can help with troubleshooting I'd appreciate it.
    Thanks in advance.

    http://wordpress.org/extend/plugins/woocommerce/

  2. mikejolley
    Member
    Plugin Author

    Posted 1 year ago #

    Server needs to support http://php.net/manual/en/function.spl-autoload-register.php

    We've had other reports of windows based hosting doing this, but I'm not sure if a fix is needed our side, or if its just a server config issue.

  3. gatlas
    Member
    Posted 1 year ago #

    Thanks for the reply.
    Is there a way i can try to fix this situation?

  4. mikejolley
    Member
    Plugin Author

    Posted 1 year ago #

    I'd contact your host about the availability of SPL Autoload Register first off.

  5. gatlas
    Member
    Posted 1 year ago #

    I spoke to my host. They suggested i switch to Linux. So i did that. I believe that resolved the error.
    Thanks for your help!

  6. jameskoster
    Member
    Plugin Author

    Posted 1 year ago #

    marking as resolved

  7. jameskoster
    Member
    Plugin Author

    Posted 1 year ago #

    And now actually ticking the box... :D

  8. sp326
    Member
    Posted 11 months ago #

    @gatlas: Thank you

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic