Error after UB Cintent Slider

Hi,
I have just purchased UB Content Slider and install it as mentioned in the document. After installation I am getting below error:
exception ‘Magento\Framework\Exception\LocalizedException’ with message ‘Source class “\Magento\Framework\Model\EntityInterface” for “\Magento\Framework\Model\Entity\Repository” generation does not exist.’ in /usr/share/nginx/html/vendor/magento/framework/Code/Generator.php:171 Stack trace: #0 /usr/share/nginx/html/vendor/magento/framework/Code/Generator.php(100): Magento\Framework\Code\Generator->tryToLoadSourceClass(‘\\Magento\\Framew…’, Object(Magento\Framework\ObjectManager\Code\Generator\Repository)) #1 /usr/share/nginx/html/vendor/magento/framework/Code/Generator.php(170): Magento\Framework\Code\Generator->generateClass(‘\\Magento\\Framew…’) #2 /usr/share/nginx/html/vendor/magento/framework/Code/Generator.php(100): Magento\Framework\Code\Generator->tryToLoadSourceClass(‘Magento\\Framewo…’, Object(Magento\Framework\ObjectManager\Code\Generator\Factory)) #3 /usr/share/nginx/html/vendor/magento/framework/Code/Generator/Autoloader.php(35): Magento\Framework\Code\Generator->generateClass(‘Magento\\Framewo…’) #4 [internal function]: Magento\Framework\Code\Generator\Autoloader->load(‘Magento\\Framewo…’) #5 [internal function]: spl_autoload_call(‘Magento\\Framewo…’) #6 /usr/share/nginx/html/vendor/magento/framework/ObjectManager/Relations/Runtime.php(38): class_exists(‘Magento\\Framewo…’) #7 /usr/share/nginx/html/vendor/magento/framework/Interception/Config/Config.php(153): Magento\Framework\ObjectManager\Relations\Runtime->has(‘Magento\\Framewo…’) #8 /usr/share/nginx/html/vendor/magento/framework/Interception/Config/Config.php(176): Magento\Framework\Interception\Config\Config->_inheritInterception(‘Magento\\Framewo…’) #9 /usr/share/nginx/html/vendor/magento/framework/Interception/Config/Config.php(127): Magento\Framework\Interception\Config\Config->hasPlugins(‘Magento\\Framewo…’) #10 /usr/share/nginx/html/vendor/magento/framework/Interception/Config/Config.php(103): Magento\Framework\Interception\Config\Config->initialize(Array) #11 /usr/share/nginx/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(109): Magento\Framework\Interception\Config\Config->__construct(Object(Magento\Framework\ObjectManager\Config\Reader\Dom\Proxy), Object(Magento\Framework\Config\Scope), Object(Magento\Framework\App\Cache\Type\Config), Object(Magento\Framework\ObjectManager\Relations\Runtime), Object(Magento\Framework\Interception\ObjectManager\Config\Developer), Object(Magento\Framework\ObjectManager\Definition\Runtime), ‘interception’) #12 /usr/share/nginx/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(89): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject(‘Magento\\Framewo…’, Array) #13 /usr/share/nginx/html/vendor/magento/framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create(‘Magento\\Framewo…’) #14 /usr/share/nginx/html/vendor/magento/framework/App/ObjectManager/Environment/Developer.php(82): Magento\Framework\ObjectManager\ObjectManager->get(‘Magento\\Framewo…’) #15 /usr/share/nginx/html/vendor/magento/framework/App/ObjectManagerFactory.php(181): Magento\Framework\App\ObjectManager\Environment\Developer->configureObjectManager(Object(Magento\Framework\Interception\ObjectManager\Config\Developer), Array) #16 /usr/share/nginx/html/vendor/magento/framework/App/Bootstrap.php(385): Magento\Framework\App\ObjectManagerFactory->create(Array) #17 /usr/share/nginx/html/vendor/magento/framework/App/Bootstrap.php(232): Magento\Framework\App\Bootstrap->initObjectManager() #18 /usr/share/nginx/html/pub/index.php(36): Magento\Framework\App\Bootstrap->createApplication(‘Magento\\Framewo…’) #19 {main}
 
Site URL: http://shop.im3cloud.com/

14 answers

Profile photo of Mall Staff 184060.00 $tone January 24, 2017
Public

Hi megasys,
It seems you have get wrong during in stall our tool.
Let’s try with some commands as bellow:
In your terminal go to your Magento 2 folder, and run commands:
php -f bin/magento maintenance:enable
rm -R var/*
rm -R pub/static/*
php -f bin/magento setup:di:compile
php -f bin/magento setup:static-content:deploy
php -f bin/magento maintenance:disable
And tell me know how it goes.
Regards,
Mall.
 

#1
Profile photo of megasys 310.00 $tone January 24, 2017
Public

[InvalidArgumentException]
  There are no commands defined in the “setup:static-content” namespace.
 [InvalidArgumentException]
  There are no commands defined in the “setup:di” namespace.

#3
Profile photo of Mall Staff 184060.00 $tone January 24, 2017
Public

Hi megasys,

There are no commands defined in the “maintenance” namespace.

Is your Magento 2 now is version 2.0.7?
Can you upgrade your Magento2 to version 2.1.x now?
If yes, after you have upgrade the issue as you mentioned will be solve.
In case you can’t upgraded your M2 core, let’s provide me the admin and SSH credentials and web root folder path of your M2.
I will check further and help you out.
Regards,
Mall.
 

#4
Profile photo of megasys 310.00 $tone January 24, 2017
Public

If I upgrade it to 2.1.x will the Mago theme I have purchase from your store works or what will happened to the product catalog which we have already uploaded.

#6
Profile photo of Mall Staff 184060.00 $tone January 24, 2017
Public

Hi there,
I have re-updated our tool in your working. And now the issue as you mentioned was solved.
But when i try re-deploy static files for your site, i got this: http://i.prntscr.com/f086ecf0699e41909a424cdd1fa16307.png
You should contact to your Hosting provider to increase the memory_limit of PHP settings to get best performance of your site.
Also, Magento latest version now is 2.1.3, you should consider to upgrade your M2 core to get a lot of fixed errors.
Regards,
Mall.

#7
Profile photo of Mall Staff 184060.00 $tone January 24, 2017
Public

Hi there,

If I upgrade it to 2.1.x will the Mago theme I have purchase from your store works or what will happened to the product catalog which we have already uploaded.

Everything you consider will be working fine after you have upgraded your Magento2 core successfully.
Regards,
Mall.

#8
Profile photo of megasys 310.00 $tone January 24, 2017
Public

again it gives

-bash-4.2$ composer require magento/product-community-edition 2.1.2 --no-update
-bash: composer: command not found
I have not yet upgraded it, Please have a look of the issue

#9
Profile photo of Mall Staff 184060.00 $tone January 24, 2017
Public

Hi megasys,

-bash-4.2$ composer require magento/product-community-edition 2.1.2 --no-update
-bash: composer: command not found

That issue because you have missing install the composer in your hosting. Let’s contact to your hosting provider to get help on this.
Regards,
Mall.

#10
Profile photo of megasys 310.00 $tone January 24, 2017
Public

I have redeploy static file using
php -dmemory_limit=6G bin/magento setup:static-content:deploy and it got executed successfully but the problem still remain.
Before uploading content slider everything was working file.
Please resolve the issue.
 

#11
Profile photo of megasys 310.00 $tone January 24, 2017
Public

Now after chenging var permission it gives us below error

Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory. 
The following modules are outdated:
Ubertheme_UbContentSlider schema: current version - none, required version - 1.0.9
Ubertheme_UbContentSlider data: current version - none, required version - 1.0.9
#0 [internal function]: Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#1 /usr/share/nginx/html/vendor/magento/framework/Interception/Chain/Chain.php(68): call_user_func_array(Array, Array)
#2 /usr/share/nginx/html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...')
#3 /usr/share/nginx/html/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(68): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#4 [internal function]: Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#5 /usr/share/nginx/html/vendor/magento/framework/Interception/Chain/Chain.php(68): call_user_func_array(Array, Array)
#6 /usr/share/nginx/html/vendor/magento/framework/Interception/Interceptor.php(136): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...')
#7 /usr/share/nginx/html/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#8 [internal function]: Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#9 /usr/share/nginx/html/vendor/magento/framework/Interception/Interceptor.php(141): call_user_func_array(Array, Array)
#10 /usr/share/nginx/html/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)
#11 /usr/share/nginx/html/vendor/magento/framework/App/Http.php(115): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#12 /usr/share/nginx/html/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#13 /usr/share/nginx/html/pub/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#14 {main}
#12

Please login or Register to Submit Answer

Written By

Comments