• Resolved poppydev

    (@poppydev)


    Getting this error after updating Woocommerce to latest version [7.2.0]:

    2022-12-15T14:30:49+00:00 CRITICAL Uncaught Automattic\WooCommerce\Vendor\League\Container\Exception\NotFoundException: Alias (Automattic\WooCommerce\Internal\Admin\Orders\COTRedirectionController) is not being managed by the container or delegates in /home/storage/764/3779764/user/htdocs/wp-content/plugins/woocommerce/lib/packages/League/Container/Container.php:188
    Stack trace:
    #0 /home/storage/764/3779764/user/htdocs/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/ExtendedContainer.php(117): Automattic\WooCommerce\Vendor\League\Container\Container->get('Automattic\\WooC...', false)
    #1 /home/storage/764/3779764/user/htdocs/wp-content/plugins/woocommerce/src/Container.php(104): Automattic\WooCommerce\Internal\DependencyManagement\ExtendedContainer->get('Automattic\\WooC...')
    #2 /home/storage/764/3779764/user/htdocs/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(321): Automattic\WooCommerce\Container->get('Automattic\\WooC...')
    #3 /home/storage/764/3779764/user/htdocs/wp-includes/class-wp-hook.php(308): WC_Admin_Menus->orders_menu('')
    #4 /home/storage/764/3779764/user/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #5 /home/storage/764/3779764/user/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #6 /home/storage/764/3779764/user/htdocs/wp-admin/includes/menu.php(155): do_action('admin_menu', '')
    #7 /home/storage/764/3779764/user/htdocs/wp-admin/menu.php(428): require_once('/home/storage/7...')
    #8 /home/storage/764/3779764/user/htdocs/wp-admin/admin.php(158): require('/home/storage/7...')
    #9 {main}
      thrown in /home/storage/764/3779764/user/htdocs/wp-content/plugins/woocommerce/lib/packages/League/Container/Container.php on line 188
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @poppydev,

    The error above might happen depending on what is also on the site plugin wise. We have seen a situation where this happened due to few active plugins not being updated.

    Have you tried to activate it with just WooCommerce active and see if it still errors out? Please try to do that, and if it still errors out then if it is possible please post your **System Status Report** so we can take a closer look at the site itself and what is on it. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    Thread Starter poppydev

    (@poppydev)

    Hi Amir A,

    Thank you for the reply. I haven’t had the error since and after clearing the logs in WooCommerce it hasn’t come back. It could have been a caching issue and after clearing this it resolved the error above.

    All plugins are up to date. Site is on PHP 8, latest version of WordPress 6.1.1 (which does flag as not yet been tested on in WordPress repository).

    I can’t see anything else that could have been the cause of the error. Looking at Woo’s changelog, there had been some major changes to settings UI’s and additional options added. Maybe the database was still pointing to old settings and flagged this as an error base don the PHP warning.

    Who knows. I will keep an eye on this and report back if I see the error re-appear for any known reason.

    Regards

    poppydev

    Okay, glad it’s working fine now @poppydev. I am going to mark this as resolved now. If you have any new questions, please open a new ticket.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce update error log’ is closed to new replies.