«Root package 'mage2pro/currency-format' cannot require itself in its composer.json»

Hello Dmitry,

I have worked with you before to install Currancy Format extension, it was working fine until I tried to login to admin and I got below error:

There has been an error processing your request

Exception printing is disabled by default for security reasons.

Error log record number: 793530403331

After tracking the above recoded number I got it caused by Mage2Pro/currency-format as below

a:4:{i:0;s:153:"Root package 'mage2pro/currency-format' cannot require itself in its composer.json

Did you accidentally name your root package after an external package?";i:1;s:7452:"#0 /chroot/home/funkhnet/funkh.net/html/vendor/composer/composer/src/Composer/Factory.php(329): Composer\Package\Loader\RootPackageLoader->load(Array, 'Composer\\Packag...', '/chroot/home/fu...')

#1 /chroot/home/funkhnet/funkh.net/html/vendor/composer/composer/src/Composer/Factory.php(532): Composer\Factory->createComposer(Object(Composer\IO\BufferIO), Array, false)

#2 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Composer/ComposerFactory.php(47): Composer\Factory::create(Object(Composer\IO\BufferIO), '/chroot/home/fu...')

#3 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Composer/ComposerInformation.php(362): Magento\Framework\Composer\ComposerFactory->create()

#4 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Composer/ComposerInformation.php(375): Magento\Framework\Composer\ComposerInformation->getComposer()

#5 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Composer/ComposerInformation.php(242): Magento\Framework\Composer\ComposerInformation->getLocker()

#6 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/App/ProductMetadata.php(104): Magento\Framework\Composer\ComposerInformation->getSystemPackages()

#7 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/App/ProductMetadata.php(65): Magento\Framework\App\ProductMetadata->getSystemPackageVersion()

#8 /chroot/home/funkhnet/funkh.net/html/vendor/magento/module-admin-notification/Model/Feed.php(208): Magento\Framework\App\ProductMetadata->getVersion()

#9 /chroot/home/funkhnet/funkh.net/html/vendor/magento/module-admin-notification/Model/Feed.php(138): Magento\AdminNotification\Model\Feed->getFeedData()

#10 /chroot/home/funkhnet/funkh.net/html/vendor/magento/module-admin-notification/Observer/PredispatchAdminActionControllerObserver.php(51): Magento\AdminNotification\Model\Feed->checkUpdate()

#11 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): Magento\AdminNotification\Observer\PredispatchAdminActionControllerObserver->execute(Object(Magento\Framework\Event\Observer))

#12 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod(Object(Magento\AdminNotification\Observer\PredispatchAdminActionControllerObserver), Object(Magento\Framework\Event\Observer))

#13 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Event/Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch(Array, Object(Magento\Framework\Event\Observer))

#14 /chroot/home/funkhnet/funkh.net/html/var/generation/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framework\Event\Manager->dispatch('controller_acti...', Array)

#15 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/App/Action/Action.php(91): Magento\Framework\Event\Manager\Proxy->dispatch('controller_acti...', Array)

#16 /chroot/home/funkhnet/funkh.net/html/vendor/magento/module-backend/App/AbstractAction.php(226): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))

#17 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Backend\App\AbstractAction->dispatch(Object(Magento\Framework\App\Request\Http))

#18 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->___callParent('dispatch', Array)

#19 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Backend...', 'dispatch', Object(Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor), Array, 'adminAuthentica...')

#20 /chroot/home/funkhnet/funkh.net/html/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(143): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))

#21 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch(Object(Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

#22 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Backend...', 'dispatch', Object(Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor), Array, 'adminMassaction...')

#23 /chroot/home/funkhnet/funkh.net/html/vendor/magento/module-backend/App/Action/Plugin/MassactionKey.php(33): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))

#24 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Backend\App\Action\Plugin\MassactionKey->aroundDispatch(Object(Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

#25 /chroot/home/funkhnet/funkh.net/html/var/generation/Magento/Backend/Controller/Adminhtml/Index/Index/Interceptor.php(26): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->___callPlugins('dispatch', Array, Array)

#26 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/App/FrontController.php(55): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))

#27 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))

#28 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)

#29 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install')

#30 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))

#31 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

#32 /chroot/home/funkhnet/funkh.net/html/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)

#33 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))

#34 /chroot/home/funkhnet/funkh.net/html/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()

#35 /chroot/home/funkhnet/funkh.net/html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))

#36 {main}";s:3:"url";s:103:"/funkhnet_admin/admin/index/index/key/214d97664318332735297a5d25c263897b95d56f1ad12cd52a387710a01853a6/";s:11:"script_name";s:10:"/index.php";}

Can you help please

Thanks

What is the funkh.net website?
I never heard about it before.
You bought licenses for:

Hi,

Sorry this is my bad. I have installed it my self for testing. as this is a testing magento 2 store for me.

I am so sorry