# Getting namespace error, after upgrade the mautic

**URL:** <https://forum.mautic.org/t/getting-namespace-error-after-upgrade-the-mautic/32655>\
**Category:** Development\
**Created:** [July 5, 2024, 10:10am UTC](https://forum.mautic.org/t/getting-namespace-error-after-upgrade-the-mautic/32655 "2024-07-05T10:10:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sujeet.thete](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@sujeet.thete](https://forum.mautic.org/u/sujeet.thete)\
**Post date:** [July 5, 2024, 10:10am UTC](https://forum.mautic.org/t/getting-namespace-error-after-upgrade-the-mautic/32655/1 "2024-07-05T10:10:47Z")

</div>

Hello,

I have upgraded the mautic to 5.1, but after upgrade it, one custom command is not working.  
The command is as follows  
php /var/www/vhosts/myfolder/www/bin/console vcr:cron  
but after execute it, I am getting following error  
“There are no commands defined in the “vcr” namespace.”  
I don’t get, how I can register the namespace.

Thanks
