Skip to content

Magento2 Installation Error #1727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
netorica opened this issue Aug 22, 2015 · 1 comment
Closed

Magento2 Installation Error #1727

netorica opened this issue Aug 22, 2015 · 1 comment

Comments

@netorica
Copy link

I just pulled the current commits today 9a960ca
and while installing I encountered the following errors

Module 'Magento_Indexer':
Running recurring..
[ERROR] exception 'Exception' with message 'Recoverable Error: Argument 1 passed to Magento\Indexer\Model\Config\Data::__construct() must be an instance of Magento\Framework\Indexer\Config\Reader, instance of Magento\Indexer\Model\Config\Reader given, called in /home/magento2_dev/public_html/var/generation/Magento/Indexer/Model/Config/Data/Interceptor.php on line 14 and defined in /home/magento2_dev/public_html/app/code/Magento/Indexer/Model/Config/Data.php on line 22' in /home/magento2_dev/public_html/lib/internal/Magento/Framework/App/ErrorHandler.php:67
Stack trace:
#0 /home/magento2_dev/public_html/app/code/Magento/Indexer/Model/Config/Data.php(22): Magento\Framework\App\ErrorHandler->handler(4096, 'Argument 1 pass...', '/home/magento2...', 22, Array)
#1 /home/magento2_dev/public_html/var/generation/Magento/Indexer/Model/Config/Data/Interceptor.php(14): Magento\Indexer\Model\Config\Data->__construct(Object(Magento\Indexer\Model\Config\Reader), Object(Magento\Framework\App\Cache\Type\Config), Object(Magento\Indexer\Model\Resource\Indexer\State\Collection), 'indexer_config')
#2 /home/magento2_dev/public_html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(103): Magento\Indexer\Model\Config\Data\Interceptor->__construct(Object(Magento\Indexer\Model\Config\Reader), Object(Magento\Framework\App\Cache\Type\Config), Object(Magento\Indexer\Model\Resource\Indexer\State\Collection), 'indexer_config')
#3 /home/magento2_dev/public_html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(89): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Indexer...', Array)
#4 /home/magento2_dev/public_html/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Indexer...')
#5 /home/magento2_dev/public_html/var/generation/Magento/Indexer/Model/Config/Data/Proxy.php(84): Magento\Framework\ObjectManager\ObjectManager->get('\\Magento\\Indexe...')
#6 /home/magento2_dev/public_html/var/generation/Magento/Indexer/Model/Config/Data/Proxy.php(103): Magento\Indexer\Model\Config\Data\Proxy->_getSubject()
#7 /home/magento2_dev/public_html/app/code/Magento/Indexer/Model/Config.php(32): Magento\Indexer\Model\Config\Data\Proxy->get()
#8 /home/magento2_dev/public_html/app/code/Magento/Indexer/Setup/Recurring.php(90): Magento\Indexer\Model\Config->getIndexers()
#9 /home/magento2_dev/public_html/setup/src/Magento/Setup/Model/Installer.php(789): Magento\Indexer\Setup\Recurring->install(Object(Magento\Setup\Module\Setup), Object(Magento\Setup\Model\ModuleContext))
#10 /home/magento2_dev/public_html/setup/src/Magento/Setup/Model/Installer.php(700): Magento\Setup\Model\Installer->handleDBSchemaData(Object(Magento\Setup\Module\Setup), 'schema')
#11 [internal function]: Magento\Setup\Model\Installer->installSchema()
#12 /home/magento2_dev/public_html/setup/src/Magento/Setup/Model/Installer.php(299): call_user_func_array(Array, Array)
#13 /home/magento2_dev/public_html/setup/src/Magento/Setup/Controller/Install.php(88): Magento\Setup\Model\Installer->install(Array)
#14 /home/magento2_dev/public_html/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(82): Magento\Setup\Controller\Install->startAction()
#15 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#16 /home/magento2_dev/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#17 /home/magento2_dev/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#18 /home/magento2_dev/public_html/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#19 /home/magento2_dev/public_html/vendor/zendframework/zend-mvc/src/DispatchListener.php(93): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#20 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#21 /home/magento2_dev/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#22 /home/magento2_dev/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#23 /home/magento2_dev/public_html/vendor/zendframework/zend-mvc/src/Application.php(314): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#24 /home/magento2_dev/public_html/setup/index.php(31): Zend\Mvc\Application->run()
#25 {main}

I passed every requirements

my specs

Ubuntu 14.0.4
PHP 5.5.27
Apache 2.4
MySQL 5.6 (Percona)

@netorica
Copy link
Author

I just remove the /var/generation and it now works fine

magento-team pushed a commit that referenced this issue Nov 16, 2017
Public Pull Requests

#11433 Swatches styles migrated form CSS file in module to LESS in Blank theme by @Igloczek
magento-engcom-team added a commit that referenced this issue Aug 19, 2020


 - Merge Pull Request #29461 from joweecaquicla/magento2:1727-introduce-internal-class-wrapping-splfileinfo
 - Merged commits:
   1. 5a500f3
   2. bc24c44
   3. 9f02257
   4. 0b6ba91
   5. 89e7f22
   6. beae26b
   7. 3752c1e
magento-engcom-team added a commit that referenced this issue Aug 19, 2020
Accepted Community Pull Requests:
 - #29576: Add suport of reading PNG JPEG Exif metadata (by @Nazar65)
 - #29429: Fix ui-select options placeholders for url-filter-applier (by @Nazar65)
 - #29400: #1703: The deleted tags are not removed from Tags drop-down until the web page is refreshed (by @yolouiese)
 - #29433: Reorganize Media Gallery stores configuration UI (by @konarshankar07)
 - #29494: #1748: Some category grid columns are empty (by @joweecaquicla)
 - #29461: #1727: Introduce internal class wrapping SplFileInfo (by @joweecaquicla)
 - #29491: #1712: Remove DataObject usage from OpenDialogUrl provider (by @joweecaquicla)
 - #29458: magento/web-api-test-recursive-array-comparison (by @bricht)
 - #29511: #29496 :- UI : Time field element in admin (by @konarshankar07)
 - #29483: fix fatal error when exception was thrown (by @rafal-kos)
 - #27478: improve exception handling in Layout render (by @fsw)
 - #29413: Fix #24060 - Terms and Conditions label doesn't fit longer texts (by @Bartlomiejsz)
 - #29452: Fix date timestamp typo ( Created and Modified date are different for newly saved Image Preview) (by @Nazar65)
 - #29410: Changed misunderstanding title (by @angelo983)
 - #29435: #1711: Use product model instead of data object for catalog image helper init (by @jmonteros422)


Fixed GitHub Issues:
 - #1449: Duplicated attributes in sidebar when installing with sample data (reported by @markoshust) has been fixed in #29576 by @Nazar65 in 2.4-develop branch
   Related commits:
     1. a74d422
     2. 9b8c81c
     3. 5c7c959
     4. 4ef4c6c
     5. 4a7fbd7
     6. 5e07290
     7. 0830d38
     8. c29e740
     9. bed58c5
     10. 58fbad4
     11. 9a74037
     12. 583b013

 - #1694: Remove / Edit Item in minicart does not work if span css is changed (reported by @Zaylril) has been fixed in #29429 by @Nazar65 in 2.4-develop branch
   Related commits:
     1. 4ebe9d6

 - #1755: why i disable all  caches and enable xdebug  that  cause   magento very slow? (reported by @LifeAsBook) has been fixed in #29429 by @Nazar65 in 2.4-develop branch
   Related commits:
     1. 4ebe9d6

 - #1703: when multiple productInterface implement which to use  (reported by @LifeAsBook) has been fixed in #29400 by @yolouiese in 2.4-develop branch
   Related commits:
     1. b2b45e6
     2. c716884
     3. 9a2f265
     4. 8d9d0a5
     5. 512942e
     6. 7e34bc9
     7. 0f9189e
     8. c4055cc
     9. 3b350fd
     10. bf77de0
     11. 5f1d43a

 - #1738: Where the relevant information about the template <!--ko--> (reported by @LifeAsBook) has been fixed in #29433 by @konarshankar07 in 2.4-develop branch
   Related commits:
     1. 3633542
     2. 651bd69
     3. 8b592ee
     4. 3fc2303
     5. e76cb95
     6. 1fe9c22
     7. de6d2a7

 - #29498: [Issue] magento/web-api-test-recursive-array-comparison (reported by @m2-assistant[bot]) has been fixed in #29458 by @bricht in 2.4-develop branch
   Related commits:
     1. 9cf55e5
     2. 289af76

 - #29496: UI : Time field element in admin (reported by @sankalpshekhar) has been fixed in #29511 by @konarshankar07 in 2.4-develop branch
   Related commits:
     1. 23b5a24
     2. 3723b61

 - #29525: [Issue] fix fatal error when exception was thrown (reported by @m2-assistant[bot]) has been fixed in #29483 by @rafal-kos in 2.4-develop branch
   Related commits:
     1. 8b8e496

 - #29606: [Issue] improve exception handling in Layout render (reported by @m2-assistant[bot]) has been fixed in #27478 by @fsw in 2.4-develop branch
   Related commits:
     1. 9565c44
     2. ab74f29
     3. c30dd60

 - #24060: Terms and Conditions label doesn't fit longer texts (reported by @DanieliMi) has been fixed in #29413 by @Bartlomiejsz in 2.4-develop branch
   Related commits:
     1. 5a0680c

 - #29416: [Issue] Changed misunderstanding title (reported by @m2-assistant[bot]) has been fixed in #29410 by @angelo983 in 2.4-develop branch
   Related commits:
     1. 209018c
     2. afdcc93
     3. e2b6d33

 - #1711: Clear static content when enabling new module from CLI (reported by @markoshust) has been fixed in #29435 by @jmonteros422 in 2.4-develop branch
   Related commits:
     1. 11d0a35
     2. 25133c5
     3. c72447f
     4. 73d032f
     5. 36427dc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants