Skip to content

There are no commands defined in the “setup:cron” namespace after upgrade to Magento 2.4.6-p3

After upgrading to magento 2.4.6-p3 in system.log and cron.log it is generating same error daily i.e –

main.ERROR: There are no commands defined in the "setup:cron" namespace.
Did you mean one of these?
    setup
    setup:config
    setup:db
    setup:db-data
    setup:db-declaration
    setup:db-schema
    setup:di
    setup:performance
    setup:static-content
    setup:store-config

Can anyone suggest any solution or the cause for the error in system.log and cron.log file