• Resolved connecthkmedia

    (@connecthkmedia)


    Hi everyone, we have been encountering an issue on our event ticketing website. We use WooCommerce and Tickera plugins. However in the past 3 weeks, we have been unable to access the admin dashboard, whenever the WooCommerce plugin is enabled. We then have to deactivate the plugin manually from our hosting provider side.

    Here is the error for reference:
    “There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.”

    We have disabled other plugins to test whether there is any conflict, but so far it seems WooCommerce just doesn’t work and causes the wp-admin to crash. We would like help as we are relaunching our event ticketing in about 10 days.

    Here is the debug shown after enabling Debug mode:

    Deprecated: ElementorDeps\DI\create(): Implicitly marking parameter $className as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/functions.php on line 32

    Deprecated: ElementorDeps\DI\autowire(): Implicitly marking parameter $className as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/functions.php on line 44

    Deprecated: ElementorDeps\DI\ContainerBuilder::writeProxiesToFile(): Implicitly marking parameter $proxyDirectory as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/ContainerBuilder.php on line 231

    Deprecated: ElementorDeps\DI\Definition\Source\ReflectionBasedAutowiring::autowire(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/Definition/Source/ReflectionBasedAutowiring.php on line 17

    Deprecated: ElementorDeps\DI\Definition\Source\Autowiring::autowire(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/Definition/Source/Autowiring.php on line 21

    Deprecated: ElementorDeps\DI\Definition\Source\DefinitionFile::__construct(): Implicitly marking parameter $autowiring as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/Definition/Source/DefinitionFile.php on line 25

    Deprecated: ElementorDeps\DI\Definition\Source\DefinitionArray::__construct(): Implicitly marking parameter $autowiring as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/Definition/Source/DefinitionArray.php on line 33

    Deprecated: ElementorDeps\DI\Definition\Source\DefinitionNormalizer::normalizeRootDefinition(): Implicitly marking parameter $wildcardsReplacements as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/Definition/Source/DefinitionNormalizer.php on line 42

    Deprecated: ElementorDeps\DI\Proxy\ProxyFactory::__construct(): Implicitly marking parameter $proxyDirectory as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/Proxy/ProxyFactory.php on line 38

    Deprecated: ElementorDeps\DI\Container::__construct(): Implicitly marking parameter $definitionSource as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/Container.php on line 87

    Deprecated: ElementorDeps\DI\Container::__construct(): Implicitly marking parameter $proxyFactory as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/Container.php on line 87

    Deprecated: ElementorDeps\DI\Container::__construct(): Implicitly marking parameter $wrapperContainer as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/Container.php on line 87

    Deprecated: Freemius::maybe_activate_bundle_license(): Implicitly marking parameter $license as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/tickera/freemius/includes/class-freemius.php on line 7780

    Deprecated: Freemius::set_license(): Implicitly marking parameter $license as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/tickera/freemius/includes/class-freemius.php on line 12388

    Deprecated: Freemius::switch_to_blog(): Implicitly marking parameter $install as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/tickera/freemius/includes/class-freemius.php on line 15633

    Deprecated: Freemius::_activate_addon_account(): Implicitly marking parameter $bundle_license as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/tickera/freemius/includes/class-freemius.php on line 18112

    Deprecated: Freemius::_store_site(): Implicitly marking parameter $site as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/tickera/freemius/includes/class-freemius.php on line 19711

    Deprecated: Elementor\Controls_Stack::get_active_controls(): Implicitly marking parameter $controls as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/includes/base/controls-stack.php on line 353

    Deprecated: Elementor\Controls_Stack::get_active_controls(): Implicitly marking parameter $settings as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/includes/base/controls-stack.php on line 353

    Deprecated: Elementor\Controls_Stack::get_style_controls(): Implicitly marking parameter $controls as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/includes/base/controls-stack.php on line 800

    Deprecated: Elementor\Controls_Stack::get_style_controls(): Implicitly marking parameter $settings as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/includes/base/controls-stack.php on line 800

    Deprecated: Elementor\Elements_Manager::create_element_instance(): Implicitly marking parameter $element_type as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/includes/managers/elements.php on line 70

    Deprecated: Elementor\Element_Base::__construct(): Implicitly marking parameter $args as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/includes/base/element-base.php on line 1583

    Deprecated: Elementor\Repeater::__construct(): Implicitly marking parameter $args as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/includes/elements/repeater.php on line 48

    Deprecated: Elementor\Core\Utils\Collection::filter(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/core/utils/collection.php on line 51

    Deprecated: ElementorDeps\DI\Definition\ObjectDefinition::__construct(): Implicitly marking parameter $className as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/Definition/ObjectDefinition.php on line 62

    Deprecated: ElementorDeps\DI\Definition\ObjectDefinition::setClassName(): Implicitly marking parameter $className as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/Definition/ObjectDefinition.php on line 75

    Deprecated: ElementorDeps\DI\Definition\ObjectDefinition::setLazy(): Implicitly marking parameter $lazy as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/Definition/ObjectDefinition.php on line 158

    Deprecated: ElementorDeps\DI\Definition\Resolver\ObjectCreator::setPrivatePropertyValue(): Implicitly marking parameter $className as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/Definition/Resolver/ObjectCreator.php on line 158

    Deprecated: ElementorDeps\DI\Definition\Resolver\ParameterResolver::resolveParameters(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/Definition/Resolver/ParameterResolver.php on line 34

    Deprecated: ElementorDeps\DI\Definition\Resolver\ParameterResolver::resolveParameters(): Implicitly marking parameter $method as nullable is deprecated, the explicit nullable type must be used instead in /home/servin18/atthepeak.org/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/php-di/src/Definition/Resolver/ParameterResolver.php on line 34

    Fatal error: Uncaught Exception: The authoritative table for orders storage can't be changed while there are orders out of sync in /home/servin18/atthepeak.org/wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php:468 Stack trace: #0 /home/servin18/atthepeak.org/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController->process_pre_update_option('yes', 'woocommerce_cus...', 'no') #1 /home/servin18/atthepeak.org/wp-includes/plugin.php(205): WP_Hook->apply_filters('yes', Array) #2 /home/servin18/atthepeak.org/wp-includes/option.php(913): apply_filters('pre_update_opti...', 'yes', 'woocommerce_cus...', 'no') #3 /home/servin18/atthepeak.org/wp-content/plugins/woocommerce/src/Internal/Features/FeaturesController.php(650): update_option('woocommerce_cus...', 'yes') #4 /home/servin18/atthepeak.org/wp-content/plugins/woocommerce/includes/class-wc-install.php(1092): Automattic\WooCommerce\Internal\Features\FeaturesController->change_feature_enable('custom_order_ta...', true) #5 /home/servin18/atthepeak.org/wp-includes/class-wp-hook.php(324): WC_Install::maybe_enable_hpos('') #6 /home/servin18/atthepeak.org/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #7 /home/servin18/atthepeak.org/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /home/servin18/atthepeak.org/wp-content/plugins/woocommerce/includes/class-wc-install.php(362): do_action('woocommerce_new...') #9 /home/servin18/atthepeak.org/wp-includes/class-wp-hook.php(324): WC_Install::newly_installed('') #10 /home/servin18/atthepeak.org/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #11 /home/servin18/atthepeak.org/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /home/servin18/atthepeak.org/wp-admin/admin.php(176): do_action('admin_init') #13 /home/servin18/atthepeak.org/wp-admin/plugins.php(10): require_once('/home/servin18/...') #14 {main} thrown in /home/servin18/atthepeak.org/wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.phpon line 468
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing the error log. These are not actual errors but likely PHP warnings related to the Elementor plugin. It seems like you may not be using the latest version of Elementor. Please make sure you’re using the latest version of all plugins.

    To assist you further, could you please share your System Status Report, which you can find by going to WooCommerce → Status?

    Please use https://pastebin.com/ or https://gist.github.com/ and share a link to that paste in reply here. Once we have more information, we’ll be able to assist you further.

    Thread Starter connecthkmedia

    (@connecthkmedia)

    Thanks for getting back! I will check for WooCommerce status.

    The following is the fatal error code that indicates woocommerce. Would this help?

    Fatal error: Uncaught Exception: The authoritative table for orders storage can’t be changed while there are orders out of sync in /home/servin18/atthepeak.org/wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php:468 Stack trace: #0 /home/servin18/atthepeak.org/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController->process_pre_update_option(‘yes’, ‘woocommerce_cus…’, ‘no’) #1 /home/servin18/atthepeak.org/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘yes’, Array) #2 /home/servin18/atthepeak.org/wp-includes/option.php(913): apply_filters(‘pre_update_opti…’, ‘yes’, ‘woocommerce_cus…’, ‘no’) #3 /home/servin18/atthepeak.org/wp-content/plugins/woocommerce/src/Internal/Features/FeaturesController.php(650): update_option(‘woocommerce_cus…’, ‘yes’) #4 /home/servin18/atthepeak.org/wp-content/plugins/woocommerce/includes/class-wc-install.php(1092): Automattic\WooCommerce\Internal\Features\FeaturesController->change_feature_enable(‘custom_order_ta…’, true) #5 /home/servin18/atthepeak.org/wp-includes/class-wp-hook.php(324): WC_Install::maybe_enable_hpos(”) #6 /home/servin18/atthepeak.org/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #7 /home/servin18/atthepeak.org/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /home/servin18/atthepeak.org/wp-content/plugins/woocommerce/includes/class-wc-install.php(362): do_action(‘woocommerce_new…’) #9 /home/servin18/atthepeak.org/wp-includes/class-wp-hook.php(324): WC_Install::newly_installed(”) #10 /home/servin18/atthepeak.org/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #11 /home/servin18/atthepeak.org/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /home/servin18/atthepeak.org/wp-admin/admin.php(176): do_action(‘admin_init’) #13 /home/servin18/atthepeak.org/wp-admin/index.php(10): require_once(‘/home/servin18/…’) #14 {main} thrown in /home/servin18/atthepeak.org/wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.phpon line 468

    Hi @connecthkmedia,

    Thanks for sharing the error log. This issue is occurring because WooCommerce is attempting to enable the custom order table feature, but some orders are still out of sync between the legacy and custom order tables. WooCommerce prevents the switch to the custom order table until these sync issues are resolved.

    Although we can troubleshoot this further, it would be helpful to first understand your current setup. Since you’re also experiencing other errors, it’s advisable to test the issue on a staging site where we can safely reproduce the crash. For now, please share your System Status Report as my colleague previously requested, so we can get a clearer picture of your environment.

    Plugin Support Chris Moreira – a11n

    (@chrism245)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    If you have a few minutes, we’d love if you could leave us a review: https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Critical error when accessing Admin Dashboard when WooCommerce Plugin is enabled’ is closed to new replies.