-
Couldn't load subscription status.
- Fork 9.4k
Description
After nearly a dozen clean, magento 2 installs on centos 7, I keep getting this error when I navigate to System -> Web Setup Wizard.
Fatal error: Uncaught exception 'Exception' with message 'Notice: Undefined index: arguments in /home/andrew/public_html/labs/lib/internal/Magento/Framework/ObjectManager/Config/Compiled.php on line 132' in /home/andrew/public_html/labs/lib/internal/Magento/Framework/App/ErrorHandler.php on line 61
( ! ) Exception: Notice: Undefined index: arguments in /home/andrew/public_html/labs/lib/internal/Magento/Framework/ObjectManager/Config/Compiled.php on line 132 in /home/andrew/public_html/labs/lib/internal/Magento/Framework/App/ErrorHandler.php on line 61
This is post install, when I navigate in Magento 2 admin, via System > Web Setup Wizard.
system: Centos 7
httpd-2.4.6-31.el7.centos.1.x86_64
php56w-5.6.13-1.w7.x86_64
mysql-community-server-5.6.26-2.el7.x86_64
Steps to reproduce.
- git clone magento 2
- git checkout master
- composer install
- Use setup wizard to install magento 2
- bin/magento deploy:mode:set developer
- edit .htaccess and enable developer mode
- bin/magento setup:static-content:deploy
- bin/magento setup:di:compile
All files owned by me as user, and apache as group.
All file/folder permissions are 660/770.
Frontend appears fine, can navigate around and pages load.
Admin appears fine, can navigate around and modify/add/edit settings, categories, products, cms pages no problem.
If I install on Ubuntu (digital ocean), it works fine, but when I install on Centos 7, this error happens and I cannot install sample data.
sample data requires magento 2 credentials generated via magento commerce site. If I put credentials in auth.json, it won't install. I'm forced to add credentials via admin UI system -> Web Setup Wizard. Even if credentials are in .composer/auth.json, bin/magento sampledata:deploy fails on requiring credentials.