• Resolved Mikey

    (@mikey-d)


    For a seemingly random reason WordPress decided to break on me when WooCommerce is activated. Disabling WooCommerce fixes the site and allows it to load. Disabling related plugins but keeping WC enabled keeps site broken.

    Have tried clearing the cache without luck.

    Error logs show:

    [27-Dec-2017 06:18:58 UTC] PHP Fatal error: Uncaught Error: Class ‘WC_Widget_Product_Search’ not found in /home/username/public_html/wp-includes/class-wp-widget-factory.php:100
    Stack trace:
    #0 /home/username/public_html/wp-includes/widgets.php(115): WP_Widget_Factory->register(‘WC_Widget_Produ…’)
    #1 /home/username/public_html/wp-content/plugins/woocommerce/includes/wc-widget-functions.php(43): register_widget(‘WC_Widget_Produ…’)
    #2 /home/username/public_html/wp-includes/class-wp-hook.php(286): wc_register_widgets(”)
    #3 /home/username/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #4 /home/username/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #5 /home/username/public_html/wp-includes/widgets.php(1645): do_action(‘widgets_init’)
    #6 /home/username/public_html/wp-includes/class-wp-hook.php(286): wp_widgets_init(”)
    #7 /home/username/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #8 /home/username/public_html/wp-includes/plugin.php(453): WP_Hook->d in /home/username/public_html/wp-includes/class-wp-widget-factory.php on line 100

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello there,

    If you’re still running into the issue, I suggest first making sure your site is up with the latest WooCommerce 3.2.6, running PHP 7, and at least MySQL 5.6 which are the minimum requirements.

    Also, you can try testing with a default WooCommerce theme like Storefront. https://www.woocommerce.com/storefront/

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTTP Error 500: Uncaught Error: Class ‘WC_Widget_Product_Search’ not found’ is closed to new replies.