cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 installation incomplete

Magento 2 installation incomplete

hi hoping someone can help , have gone through most of the setup and then received the following at 36% install

 

---------

Starting Magento installation:
File permissions check...



Module 'Magento_Indexer':
Running recurring..
[ERROR] exception 'Magento\Framework\Exception\LocalizedException' with message 'A method by name offsetUnset already exists in this class.' in /home/curtains/public_html/vendor/magento/framework/Code/Generator.php:103
Stack trace:
#0 /home/curtains/public_html/vendor/magento/framework/Code/Generator/Autoloader.php(35): Magento\Framework\Code\Generator->generateClass('Magento\\Store\\M...')
#1 [internal function]: Magento\Framework\Code\Generator\Autoloader->load('Magento\\Store\\M...')
#2 [internal function]: spl_autoload_call('Magento\\Store\\M...')
#3 /home/curtains/public_html/vendor/magento/framework/Code/Reader/ClassReader.php(19): ReflectionClass->__construct('Magento\\Store\\M...')
#4 /home/curtains/public_html/vendor/magento/framework/ObjectManager/Definition/Runtime.php(44): Magento\Framework\Code\Reader\ClassReader->getConstructor('Magento\\Store\\M...')
#5 /home/curtains/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(71): Magento\Framework\ObjectManager\Definition\Runtime->getParameters('Magento\\Store\\M...')
#6 /home/curtains/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Store\\M...', Array)
#7 /home/curtains/public_html/vendor/magento/framework/Data/Collection/EntityFactory.php(37): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Store\\M...', Array)
#8 /home/curtains/public_html/vendor/magento/framework/Data/Collection.php(610): Magento\Framework\Data\Collection\EntityFactory->create('Magento\\Store\\M...')
#9 /home/curtains/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(569): Magento\Framework\Data\Collection->getNewEmptyItem()
#10 /home/curtains/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(550): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter(false, false)
#11 /home/curtains/public_html/vendor/magento/module-store/Model/ResourceModel/Website/Collection.php(119): Magento\Framework\Data\Collection\AbstractDb->load(false, false)
#12 /home/curtains/public_html/vendor/magento/framework/Data/Collection.php(333): Magento\Store\Model\ResourceModel\Website\Collection->load()
#13 /home/curtains/public_html/vendor/magento/module-store/Model/WebsiteRepository.php(124): Magento\Framework\Data\Collection->getItems()
#14 /home/curtains/public_html/vendor/magento/module-store/Model/StoreResolver/Website.php(46): Magento\Store\Model\WebsiteRepository->getDefault()
#15 /home/curtains/public_html/vendor/magento/module-store/Model/StoreResolver.php(130): Magento\Store\Model\StoreResolver\Website->getAllowedStoreIds(NULL)
#16 /home/curtains/public_html/vendor/magento/module-store/Model/StoreResolver.php(116): Magento\Store\Model\StoreResolver->readStoresData()
#17 /home/curtains/public_html/vendor/magento/module-store/Model/StoreResolver.php(85): Magento\Store\Model\StoreResolver->getStoresData()
#18 /home/curtains/public_html/vendor/magento/module-store/Model/StoreManager.php(151): Magento\Store\Model\StoreResolver->getCurrentStoreId()
#19 /home/curtains/public_html/var/generation/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL)
#20 /home/curtains/public_html/vendor/magento/module-store/Model/Resolver/Store.php(29): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL)
#21 /home/curtains/public_html/vendor/magento/framework/App/Config/ScopePool.php(119): Magento\Store\Model\Resolver\Store->getScope(NULL)
#22 /home/curtains/public_html/vendor/magento/framework/App/Config/ScopePool.php(74): Magento\Framework\App\Config\ScopePool->_getScopeCode('store', NULL)
#23 /home/curtains/public_html/vendor/magento/framework/App/Config.php(45): Magento\Framework\App\Config\ScopePool->getScope('store', NULL)
#24 /home/curtains/public_html/vendor/magento/framework/App/Config.php(58): Magento\Framework\App\Config->getValue('catalog/fronten...', 'store', NULL)
#25 /home/curtains/public_html/vendor/magento/module-catalog/Model/Indexer/AbstractFlatState.php(57): Magento\Framework\App\Config->isSetFlag('catalog/fronten...', 'store')
#26 /home/curtains/public_html/vendor/magento/module-catalog/Model/Indexer/Category/Flat/Plugin/IndexerConfigData.php(42): Magento\Catalog\Model\Indexer\AbstractFlatState->isFlatEnabled()
#27 [internal function]: Magento\Catalog\Model\Indexer\Category\Flat\Plugin\IndexerConfigData->aroundGet(Object(Magento\Indexer\Model\Config\Data\Interceptor), Object(Closure), NULL, NULL)
#28 /home/curtains/public_html/vendor/magento/framework/Interception/Chain/Chain.php(68): call_user_func_array(Array, Array)
#29 /home/curtains/public_html/vendor/magento/framework/Interception/Interceptor.php(136): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Indexer...', 'get', Object(Magento\Indexer\Model\Config\Data\Interceptor), Array, 'indexerProductF...')
#30 /home/curtains/public_html/vendor/magento/module-catalog/Model/Indexer/Product/Flat/Plugin/IndexerConfigData.php(41): Magento\Indexer\Model\Config\Data\Interceptor->Magento\Framework\Interception\{closure}(NULL, NULL)
#31 [internal function]: Magento\Catalog\Model\Indexer\Product\Flat\Plugin\IndexerConfigData->aroundGet(Object(Magento\Indexer\Model\Config\Data\Interceptor), Object(Closure), NULL, NULL)
#32 /home/curtains/public_html/vendor/magento/framework/Interception/Interceptor.php(141): call_user_func_array(Array, Array)
#33 /home/curtains/public_html/var/generation/Magento/Indexer/Model/Config/Data/Interceptor.php(39): Magento\Indexer\Model\Config\Data\Interceptor->___callPlugins('get', Array, Array)
#34 /home/curtains/public_html/var/generation/Magento/Indexer/Model/Config/Data/Proxy.php(103): Magento\Indexer\Model\Config\Data\Interceptor->get(NULL, NULL)
#35 /home/curtains/public_html/vendor/magento/module-indexer/Model/Config.php(32): Magento\Indexer\Model\Config\Data\Proxy->get()
#36 /home/curtains/public_html/vendor/magento/module-indexer/Setup/Recurring.php(90): Magento\Indexer\Model\Config->getIndexers()
#37 /home/curtains/public_html/setup/src/Magento/Setup/Model/Installer.php(821): Magento\Indexer\Setup\Recurring->install(Object(Magento\Setup\Module\Setup), Object(Magento\Setup\Model\ModuleContext))
#38 /home/curtains/public_html/setup/src/Magento/Setup/Model/Installer.php(732): Magento\Setup\Model\Installer->handleDBSchemaData(Object(Magento\Setup\Module\Setup), 'schema')
#39 [internal function]: Magento\Setup\Model\Installer->installSchema()
#40 /home/curtains/public_html/setup/src/Magento/Setup/Model/Installer.php(331): call_user_func_array(Array, Array)
#41 /home/curtains/public_html/setup/src/Magento/Setup/Controller/Install.php(97): Magento\Setup\Model\Installer->install(Array)
#42 /home/curtains/public_html/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(82): Magento\Setup\Controller\Install->startAction()
#43 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#44 /home/curtains/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#45 /home/curtains/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#46 /home/curtains/public_html/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#47 /home/curtains/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))
#48 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#49 /home/curtains/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#50 /home/curtains/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#51 /home/curtains/public_html/vendor/zendframework/zend-mvc/src/Application.php(314): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#52 /home/curtains/public_html/setup/index.php(31): Zend\Mvc\Application->run()
#53 {main}

9 REPLIES 9

Re: Magento 2 installation incomplete

What Magento 2 version are you trying to install?

Re: Magento 2 installation incomplete

Re: Magento 2 installation incomplete

Hi Thanks will have a read now

Re: Magento 2 installation incomplete

Hi installing version Version 2

Re: Magento 2 installation incomplete

Hi have just had a read of the link , and it look as if this is what my site is doing also , unfortunately they have been able to rectifiy that problem yet .

Re: Magento 2 installation incomplete

Please execute the php -v command from the command line standing in the Magento 2 root folder.

Re: Magento 2 installation incomplete

Will this be fixed in 2.0.5?  Anyone solve this yet?

Re: Magento 2 installation incomplete

Why is no one responding to threads about this issue but responding to everything else? If no one has any idea, I wish they'd just say so Smiley Sad I had my VPS host(Knownhost) to make sure all my Magento 2 requirements were met & to even reinstall everything themselves & we are still running into this issue.

Re: Magento 2 installation incomplete

and the problem is both of us are open to the World...I want this installed not for fancy new features but to plug any potential security holes.  Ignoring this could cause us real damage and our customer's damage.