Hi guys
I am somehow known to Magento 1.9, but no shark at all.
I have just installed a fresh copy of Magento 2.1.4, and first time i try loggin in i get an error:
"There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 1174734406603"
I have read a few other with same issue, but isnt it weird with a login error on a fresh installed Magento? Can anyone see what i can do to fix this/what the problem is, here is my report?
Regards, Mads
a:4:{i:0;s:197:""/home/blenumse/public_html/composer.json" does not contain valid JSON Parse error on line 24: ...path": true "disable-tls": true ---------------------^ Expected one of: 'EOF', '}', ',', ']'";i:1;s:7226:"#0 /home/blenumse/public_html/vendor/composer/composer/src/Composer/Json/JsonFile.php(155): Composer\Json\JsonFile::validateSyntax('{\n "name": "...', '/home/blenumse/...') #1 /home/blenumse/public_html/vendor/composer/composer/src/Composer/Factory.php(269): Composer\Json\JsonFile->validateSchema(1) #2 /home/blenumse/public_html/vendor/composer/composer/src/Composer/Factory.php(532): Composer\Factory->createComposer(Object(Composer\IO\BufferIO), '/home/blenumse/...', false) #3 /home/blenumse/public_html/vendor/magento/framework/Composer/ComposerFactory.php(47): Composer\Factory::create(Object(Composer\IO\BufferIO), '/home/blenumse/...') #4 /home/blenumse/public_html/vendor/magento/framework/Composer/ComposerInformation.php(362): Magento\Framework\Composer\ComposerFactory->create() #5 /home/blenumse/public_html/vendor/magento/framework/Composer/ComposerInformation.php(375): Magento\Framework\Composer\ComposerInformation->getComposer() #6 /home/blenumse/public_html/vendor/magento/framework/Composer/ComposerInformation.php(242): Magento\Framework\Composer\ComposerInformation->getLocker() #7 /home/blenumse/public_html/vendor/magento/framework/App/ProductMetadata.php(104): Magento\Framework\Composer\ComposerInformation->getSystemPackages() #8 /home/blenumse/public_html/vendor/magento/framework/App/ProductMetadata.php(65): Magento\Framework\App\ProductMetadata->getSystemPackageVersion() #9 /home/blenumse/public_html/vendor/magento/module-admin-notification/Model/Feed.php(208): Magento\Framework\App\ProductMetadata->getVersion() #10 /home/blenumse/public_html/vendor/magento/module-admin-notification/Model/Feed.php(138): Magento\AdminNotification\Model\Feed->getFeedData() #11 /home/blenumse/public_html/vendor/magento/module-admin-notification/Observer/PredispatchAdminActionControllerObserver.php(51): Magento\AdminNotification\Model\Feed->checkUpdate() #12 /home/blenumse/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): Magento\AdminNotification\Observer\PredispatchAdminActionControllerObserver->execute(Object(Magento\Framework\Event\Observer)) #13 /home/blenumse/public_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)) #14 /home/blenumse/public_html/vendor/magento/framework/Event/Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch(Array, Object(Magento\Framework\Event\Observer)) #15 /home/blenumse/public_html/var/generation/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framework\Event\Manager->dispatch('controller_acti...', Array) #16 /home/blenumse/public_html/vendor/magento/framework/App/Action/Action.php(91): Magento\Framework\Event\Manager\Proxy->dispatch('controller_acti...', Array) #17 /home/blenumse/public_html/vendor/magento/module-backend/App/AbstractAction.php(226): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #18 /home/blenumse/public_html/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Backend\App\AbstractAction->dispatch(Object(Magento\Framework\App\Request\Http)) #19 /home/blenumse/public_html/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->___callParent('dispatch', Array) #20 /home/blenumse/public_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...') #21 /home/blenumse/public_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)) #22 /home/blenumse/public_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)) #23 /home/blenumse/public_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...') #24 /home/blenumse/public_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)) #25 /home/blenumse/public_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)) #26 /home/blenumse/public_html/var/generation/Magento/Backend/Controller/Adminhtml/Index/Index/Interceptor.php(39): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->___callPlugins('dispatch', Array, Array) #27 /home/blenumse/public_html/vendor/magento/framework/App/FrontController.php(55): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #28 /home/blenumse/public_html/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #29 /home/blenumse/public_html/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #30 /home/blenumse/public_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') #31 /home/blenumse/public_html/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #32 /home/blenumse/public_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)) #33 /home/blenumse/public_html/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array) #34 /home/blenumse/public_html/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #35 /home/blenumse/public_html/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch() #36 /home/blenumse/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #37 {main}";s:3:"url";s:97:"/admin123/admin/index/index/key/5141b7bfa34992ec0be371bbd70f3faa4e75bb564d694893ac936ac1abbaf99c/";s:11:"script_name";s:10:"/index.php";}
Solved! Go to Solution.
...path": true "disable-tls": true
You've forgotten to put a comma between those two lines. It should be at the end of ...path": true on line 23-24.
After that, run composer update, and everything should be fine.
You can always check your composer.json using http://jsonlint.com/, just to be sure that it's valid.
...path": true "disable-tls": true
You've forgotten to put a comma between those two lines. It should be at the end of ...path": true on line 23-24.
After that, run composer update, and everything should be fine.
You can always check your composer.json using http://jsonlint.com/, just to be sure that it's valid.
Hi Sinisa
Yes, i actually just found out in the weekend myself, that a comma was needed in the file!
It was an auto generated file, son one should think all was good after a fresh installation:-).
But thanks a lot for the reply and also for the link to test code, i will use that in the future if i run into a similar think!
Best regards, Mads