• Resolved rybinsk

    (@rybinsk)


    When I try to use WooCommerce in my backend, I get this error. I have no idea what is interfering with the plugin. The same error shows when I try to get the WooCommerce Status.

    Fatal error: Uncaught Error: Undefined class constant ‘TOGGLE_OPTION_NAME’ in /home/rybinskc/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/Features.php:64 Stack trace: #0 /home/rybinskc/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/Features.php(128): Automattic\WooCommerce\Admin\Features\Features::get_beta_feature_options() #1 /home/rybinskc/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/Features.php(278): Automattic\WooCommerce\Admin\Features\Features::is_enabled(‘activity-panels’) #2 /home/rybinskc/public_html/wp-includes/class-wp-hook.php(287): Automattic\WooCommerce\Admin\Features\Features::load_scripts(‘woocommerce_pag…’) #3 /home/rybinskc/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #4 /home/rybinskc/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #5 /home/rybinskc/public_html/wp-admin/admin-header.php(102): do_action(‘admin_enqueue_s…’, ‘woocomme in /home/rybinskc/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/Features.php on line 64

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    Hello there,
    This kind of problem is usually caused by a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Thread Starter rybinsk

    (@rybinsk)

    Nicola, I did what you said, and it seems the plugin that caused the error is WooCommerce Admin plugin. Any advice?

    Hi, I also have the same problem and I got the same result as rybinsk. Any advice would be appreciated!

    I’m having the same issue today. Cant access Woocomerce tab or products in Admin.

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @rybinsk. Sorry that we missed your last response. I hope you have already solved the issue but will make a suggestion here for anyone else who finds this thread as well.

    If you are running a recent version of WooCommerce along with WooCommerce Admin and face any error messages involving WooCommerce Admin, please deactivate that plugin. The features of WooCommerce Admin are built into WooCommerce and so you generally do not need the separate plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error – Can’t use WooCommerce in Admin Panel’ is closed to new replies.