I did multiple times try to install the extension Bannerslider "https://github.com/Magestore/Bannerslider-Magento2", but I always get errors when it's done. My Store won't load anymore. I did install it once via composer and once with file transfer and always followed all the install instructions.

Did anyone get the banner slider to work with magento 2.1? Or do you know any good alternatives?

Thanks a lot!

Error I get after enabling the extension:

Please upgrade your database: Run "bin/magento setup: upgrade" from the Magento root directory. The following modules are outdated: Magestore_Bannerslider schema: current version - 1.7.1, required version - 1.7.0

After I run bin/magento setup:upgrade:

Uncaught exception 'RuntimeException' with message 'Can't create directory /home/user/public_html/store.com/var/generation/Magento/Framework/App/ResourceConnection/.' in /home/user/public_html/store.com/vendor/magento/framework/Code/Generator.php:115 Stack trace: #0 /home/user/public_html/store.com/vendor/magento/framework/Code/Generator/Autoloader.php(35): Magento\Framework\Code\Generator->generateClass('Magento\Framewo...')

[internal function]: Magento\Framework\Code\Generator\Autoloader->load('Magento\Framewo...')

[internal function]: spl_autoload_call('Magento\Framewo...') #3 /home/user/public_html/store.com/vendor/magento/framework/Code/Reader/ClassReader.php(19):

ReflectionClass->__construct('Magento\Framewo...') #4 /home/user/public_html/store.com/vendor/magento/framework/ObjectManager/Definition/Runtime.php(44):


/home/user/public_html/store.com/vendor/mage in /home/user/public_html/store.com/vendor/magento/framework/Code/Generator.php on line 115


1 Answer 1


For version error, delete entry of your module in setup_module table in database. And then run

php bin/magento setup:upgrade 

It's a file permission issue. So please run following commands in root directory after upgrade.

sudo chmod -R 777 var 
sudo chmod -R 777 pub

Not the answer you're looking for? Browse other questions tagged or ask your own question.