Skip to content

Unable to run deploy:mode:set production #7108

@toddwolaver

Description

@toddwolaver

Preconditions

  1. Install from git
    1. magento/magento2 develop branch
    2. sha: cbe29b0
  2. PHP 7.0.10 (also seen on 5.6.23)
  3. MySQL 5.6.30
  4. Install via command line, no sample data

Steps to reproduce

  1. run ‘php bin/magento deploy:mode:set production'

Expected result

  1. Run DI compilation and deploy static content

Actual result

  1. DI compilation is successfully compiled
  2. Deploy of static content fails with exception
 [Exception]                                                                                                                                                 
  Notice: Undefined index: arguments in /Users/twolaver/GIT/magento2b2b/magento/lib/internal/Magento/Framework/ObjectManager/Config/Compiled.php on line 132  

Note

  1. After deleting contents of var/di, 'setup:static-content:deploy -f' will run successfully

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions