Skip to content

Undefined Index: arguments in lib/internal/Magento/Framework/ObjectManager/Config/Compiled.php line 132 #2671

@ghost

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.

  1. git clone magento 2
  2. git checkout master
  3. composer install
  4. Use setup wizard to install magento 2
  5. bin/magento deploy:mode:set developer
  6. edit .htaccess and enable developer mode
  7. bin/magento setup:static-content:deploy
  8. 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.

Metadata

Metadata

Assignees

Labels

Component: SetupIssue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions