Support » Plugin: Facebook for WooCommerce » Fatal error if WooCommerce Admin not active

  • Resolved Web Expert

    (@seldimi)


    When updating to 2.3.4 and you don’t have WooCommerce Admin installed, you get a fatal error:

    PHP Fatal error: Uncaught Error: Class ‘Automattic\WooCommerce\Admin\Features\Features’ not found in /home/www/…./wp-content/plugins/facebook-for-woocommerce/includes/Admin/Settings.php:62

    • This topic was modified 8 months ago by Web Expert.
    • This topic was modified 8 months ago by Web Expert.
Viewing 8 replies - 1 through 8 (of 8 total)
  • bredamcguigan

    (@bredamcguigan)

    Same here, did installing Woocommerce admin fix it for you?
    thanks
    Breda

    bredamcguigan

    (@bredamcguigan)

    Update, installing the Woocommerce admin plugin fixed this for me.

    Plugin Support mother.of.code.a11n

    (@imazed)

    The Mother of Code | Automattic Happiness Engineer

    Hi there!

    I was able to replicate this, and I see that you have already filed it on GitHub: https://github.com/woocommerce/facebook-for-woocommerce/issues/1849

    I’ve notified the developers and set the issue to critical.

    Adrian Paun

    (@peacockart)

    Same here after the plugin automaticaly updated:

    
    <code></code>Fatal error: Uncaught Error: Class 'Automattic\WooCommerce\Admin\Features\Features' not found in /home3/gringmedan/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Settings.php:62 Stack trace: #0 /home3/gringmedan/public_html/wp-content/plugins/facebook-for-woocommerce/class-wc-facebookcommerce.php(206): SkyVerge\WooCommerce\Facebook\Admin\Settings->__construct() #1 /home3/gringmedan/public_html/wp-content/plugins/facebook-for-woocommerce/class-wc-facebookcommerce.php(109): WC_Facebookcommerce->init() #2 /home3/gringmedan/public_html/wp-content/plugins/facebook-for-woocommerce/class-wc-facebookcommerce.php(1016): WC_Facebookcommerce->__construct() #3 /home3/gringmedan/public_html/wp-content/plugins/facebook-for-woocommerce/class-wc-facebookcommerce.php(1082): WC_Facebookcommerce::instance() #4 /home3/gringmedan/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-for-woocommerce.php(114): facebook_for_woocommerce() #5 /home3/gringmedan/public_html/wp-includes/class-wp-hook.php(292): WC_Fa in /home3/gringmedan/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Settings.php on line 62
    
    • This reply was modified 8 months ago by Yui.
    • This reply was modified 8 months ago by Yui. Reason: please use CODE button for proper formatting
    dorianc

    (@dorianc)

    Fatal error: Uncaught Error: Class ‘Automattic\WooCommerce\Admin\Features\Features’ not found in /var/www/html/wp-content/plugins/facebook-for-woocommerce-disabled/includes/Admin/Settings.php:62 Stack trace: #0 /var/www/html/wp-content/plugins/facebook-for-woocommerce-disabled/class-wc-facebookcommerce.php(206): SkyVerge\WooCommerce\Facebook\Admin\Settings->__construct() #1 /var/www/html/wp-content/plugins/facebook-for-woocommerce-disabled/class-wc-facebookcommerce.php(109): WC_Facebookcommerce->init() #2 /var/www/html/wp-content/plugins/facebook-for-woocommerce-disabled/class-wc-facebookcommerce.php(1016): WC_Facebookcommerce->__construct() #3 /var/www/html/wp-content/plugins/facebook-for-woocommerce-disabled/class-wc-facebookcommerce.php(1082): WC_Facebookcommerce::instance() #4 /var/www/html/wp-content/plugins/facebook-for-woocommerce-disabled/facebook-for-woocommerce.php(114): facebook_for_woocommerce() #5 /var/www/html/wp-includes/class-wp-hook.php(287): WC_Facebook_Loader->init_plugin(”) #6 /var/www/html/wp-include in /var/www/html/wp-content/plugins/facebook-for-woocommerce-disabled/includes/Admin/Settings.php on line 62

    thewpguy

    (@thewpguy)

    FYI they have updated to version 2.3.5 which has fixed the issue on the sites I look after.

    Plugin Support Ena P (a11n)

    (@drwpcom)

    Hi @seldimi. The issue should be resolved with an update to the latest version. If you have any follow-up questions, please let us know.

    Plugin Support Mike a11n

    (@nixiack8)

    Hi All,

    Please make sure to install the latest version which is 2.3.5 to ensure this issue is resolved, as it fixes this specifically.

    I will go ahead and close this thread as Resolved since it is working with the latest version.

    Cheers!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error if WooCommerce Admin not active’ is closed to new replies.