• Resolved pandaboom

    (@pandaboom)


    I have a site being built so its not live yet. I’ve been having issues where I cant edit any SUB pages where I have WooCommerce on it. I kept getting the SAFEMODE message.

    Now, I’m getting having more issues, and I’ve received an email saying its the WOOCOMMERCE plugin causing the problem. I had noticed when I disabled the WOOC plugin, I could access those sub pages in Elementor, I would enable the plugin and couldn’t again.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.6.2
    Active theme: Renovatio Child (version 1.1.1)
    Current plugin: WooCommerce (version 9.4.1)
    PHP version 8.2.20

    Error Details
    =============
    An error of type E_ERROR was caused in line 171 of the file /var/www/wp-content/plugins/woocommerce/src/Admin/Features/Features.php. Error message: Uncaught Error: Undefined constant Automattic\WooCommerce\Admin\Features\Settings::TOGGLE_OPTION_NAME in /var/www/wp-content/plugins/woocommerce/src/Admin/Features/Features.php:171
    Stack trace:
    #0 /var/www/wp-content/plugins/woocommerce/src/Admin/Features/Features.php(192): Automattic\WooCommerce\Admin\Features\Features::get_available_features()
    #1 /var/www/wp-content/plugins/woocommerce/src/Internal/Admin/FeaturePlugin.php(159): Automattic\WooCommerce\Admin\Features\Features::is_enabled('onboarding')
    #2 /var/www/wp-content/plugins/woocommerce/src/Internal/Admin/FeaturePlugin.php(98): Automattic\WooCommerce\Internal\Admin\FeaturePlugin->includes()
    #3 /var/www/wp-content/plugins/woocommerce/src/Internal/Admin/FeaturePlugin.php(81): Automattic\WooCommerce\Internal\Admin\FeaturePlugin->on_plugins_loaded()
    #4 /var/www/wp-content/plugins/woocommerce/src/Admin/Composer/Package.php(65): Automattic\WooCommerce\Internal\Admin\FeaturePlugin->init()
    #5 [internal function]: Automattic\WooCommerce\Admin\Composer\Package::init()
    #6 /var/www/wp-content/plugins/woocommerce/src/Packages.php(275): call_user_func(Array)
    #7 /var/www/wp-content/plugins/woocommerce/src/Packages.php(85): Automattic\WooCommerce\Packages::initialize_packages()
    #8 /var/www/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Packages::on_init('')
    #9 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #10 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #11 /var/www/wp-settings.php(555): do_action('plugins_loaded')
    #12 /var/www/wp-config.php(102): require_once('/var/www/wp-set...')
    #13 /var/www/wp-load.php(50): require_once('/var/www/wp-con...')
    #14 /var/www/wp-admin/admin-ajax.php(22): require_once('/var/www/wp-loa...')
    #15 {main}
    ? thrown
Viewing 1 replies (of 1 total)
  • Plugin Support Reynier (a11n)

    (@reynierc)

    Hi @pandaboom ,

    Thank you for providing the error logs. From what I gather, this error appears to be related to a specific line in WooCommerce where it’s expecting a defined constant that’s not present. Here’s what I suggest:

    1. Check to see if your theme or any other plugin might be conflicting with WooCommerce by temporarily switching to a default WordPress theme and deactivating all other plugins.
    2. If the issue persists with just WooCommerce active, try reinstalling the WooCommerce plugin to make sure all files are correct and up to date.
    3. Check your hosting environment to ensure that the PHP version, memory limits, and other settings meet WooCommerce requirements.

    Give these steps a try and let me know if they work. If the issue is still there, I’ll need to check your site setup more closely. To help with this, go to WooCommerce → Status, click Get system report, and then Copy for Support. Then copy paste it here using the code block.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.