cancel
Showing results for 
Search instead for 
Did you mean: 

One click theme installation

SOLVED

Re: One click theme installation

@Rakesh Jesadiya @Manthan Dave

 

Here it is:

 

{"0":"Class MGS\\Mpanel\\Helper\\Data does not exist","1":"#0 \/home\/babybuff\/public_html\/vendor\/magento\/framework\/Code\/Reader\/ClassReader.php(19): ReflectionClass->__construct('MGS\\\\Mpanel\\\\Help...')\n#1 \/home\/babybuff\/public_html\/vendor\/magento\/framework\/ObjectManager\/Definition\/Runtime.php(44): Magento\\Framework\\Code\\Reader\\ClassReader->getConstructor('MGS\\\\Mpanel\\\\Help...')\n#2 \/home\/babybuff\/public_html\/vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php(48): Magento\\Framework\\ObjectManager\\Definition\\Runtime->getParameters('MGS\\\\Mpanel\\\\Help...')\n#3 \/home\/babybuff\/public_html\/vendor\/magento\/framework\/ObjectManager\/ObjectManager.php(70): Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create('MGS\\\\Mpanel\\\\Help...')\n#4 \/home\/babybuff\/public_html\/app\/design\/frontend\/Mgs\/organie\/Magento_Theme\/templates\/root.phtml(8): Magento\\Framework\\ObjectManager\\ObjectManager->get('MGS\\\\Mpanel\\\\Help...')\n#5 \/home\/babybuff\/public_html\/vendor\/magento\/framework\/View\/Result\/Page.php(326): include('\/home\/babybuff\/...')\n#6 \/home\/babybuff\/public_html\/vendor\/magento\/framework\/View\/Result\/Page.php(259): Magento\\Framework\\View\\Result\\Page->renderPage()\n#7 \/home\/babybuff\/public_html\/vendor\/magento\/framework\/View\/Result\/Layout.php(170): Magento\\Framework\\View\\Result\\Page->render(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\n#8 \/home\/babybuff\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(58): Magento\\Framework\\View\\Result\\Layout->renderResult(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\n#9 \/home\/babybuff\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(138): Magento\\Framework\\View\\Result\\Page\\Interceptor->___callParent('renderResult', Array)\n#10 \/home\/babybuff\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(153): Magento\\Framework\\View\\Result\\Page\\Interceptor->Magento\\Framework\\Interception\\{closure}(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\n#11 \/home\/babybuff\/public_html\/generated\/code\/Magento\/Framework\/View\/Result\/Page\/Interceptor.php(130): Magento\\Framework\\View\\Result\\Page\\Interceptor->___callPlugins('renderResult', Array, Array)\n#12 \/home\/babybuff\/public_html\/vendor\/magento\/framework\/App\/Http.php(139): Magento\\Framework\\View\\Result\\Page\\Interceptor->renderResult(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\n#13 \/home\/babybuff\/public_html\/generated\/code\/Magento\/Framework\/App\/Http\/Interceptor.php(24): Magento\\Framework\\App\\Http->launch()\n#14 \/home\/babybuff\/public_html\/vendor\/magento\/framework\/App\/Bootstrap.php(256): Magento\\Framework\\App\\Http\\Interceptor->launch()\n#15 \/home\/babybuff\/public_html\/index.php(39): Magento\\Framework\\App\\Bootstrap->run(Object(Magento\\Framework\\App\\Http\\Interceptor))\n#16 {main}","url":"\/index.php","script_name":"\/index.php"}

Re: One click theme installation

@Rakesh Jesadiya @Manthan Dave

 

Yes it is available but at : public_html/app/code/MGS/Mpanel/Helper/Swatches/data.php

Re: One click theme installation

Run below command again,

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento setup:di:compile
php bin/magento indexer:reindex
php bin/magento cache:flush

Let me know after the completed run command if error still exist

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: One click theme installation

@Rakesh Jesadiya @Manthan Dave

 

No, it did not resolve the issue. 

 

Its worth noting that a guide along with the theme suggested me to run command - 

php bin/magento module:enable MGS_Mpanel

  • Run command line: php bin/magento module:enable MGS_Mmegamenu
  • Run command line: php bin/magento module:enable MGS_Portfolio
  • Run command line: php bin/magento module:enable MGS_Testimonial
  • Run command line: php bin/magento module:enable MGS_Brand
  • Run command line: php bin/magento module:enable MGS_Promobanners
  • Run command line: php bin/magento module:enable MGS_StoreLocator
  • Run command line: php bin/magento module:enable MGS_Blog
  • Run command line: php bin/magento module:enable MGS_QuickView
  • Run command line: php bin/magento module:enable MGS_Social
  • Run command line: php bin/magento setup:upgrade
  • Run command line: php bin/magento setup:static-content:deploy

But the first command itself was resulting in an error : Unknown module(s): 'MGS_Mpanel'

 

Re: One click theme installation

You need to check app/code/MGS/Mpanel

Module exist or not if not available you need to insert at above location or ask theme provider for missing module.

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: One click theme installation

@Rakesh Jesadiya @Manthan Dave

 

There are a couple of folders: I believe it exits. Here is the screenshot.

 

Screen Shot 2018-06-25 at 6.53.13 PM.png 

 

Also, after searching on google, I found this article >> https://magebeginner.com/tutorial/magento-exception-printing-disabled-default-security-reasons.

 

But this also didn't help as my errors were different. Below is my local.xml as mentioned in article:

 

<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config>
<skin>default</skin>
<report>
<!--
"action" can be set to "print" to show exception on screen and "email"
to send exception on specified email
-->
<action>print</action>
<!--
in "subject" you can set subject of email
-->
<subject>Store Debug Information</subject>
<!--
"email_address" admin email address
-->
<email_address></email_address>
<!--
"trash" is handle about trace info
value "leave" is for store on disk
value "delete" is for cleaning
-->
<trash>leave</trash>
</report>
</config>

Re: One click theme installation

Issue resolved!

 

There was a patch which had the missing module.

 

This silly error made me learn a lot of things.

 

Thanks a lot @Rakesh Jesadiya @Manthan Dave

Re: One click theme installation

Glad to know that you have resolved your issued ..

happy to help and keep helping Smiley Happy
if issue solved,Click Kudos & Accept as Solution