cancel
Showing results for 
Search instead for 
Did you mean: 

There has been an error processing your request

SOLVED

There has been an error processing your request

Hi everybody,

 

i have installed magento Magento-CE-2.2.6_sample_data-2018-09-07-02-38-51.tar.gz on ubuntu server 16.10,

 

the installation was fine,without errors but on the admin page ip/admin_xxxxx i have this error

 

"There has been an error processing your request
Exception printing is disabled by default for security reasons.

Error log record number: 1067428330739 "

and on the file /var/www/html/magento2/var/report/1067428330739  i have this 

 

 

'{"0":"Class Dotdigitalgroup\\Email\\Model\\Sales\\CouponGridFiltererFactory does not exist","1":"#0 \/var\/www\/html\/magento2\/vendor\/magento\/framework\/ObjectManager\/Definition\/Runtime.php(44): Magento\\Framework\\Code\\Reader\\ClassReader->getConstructor('Dotdigitalgroup...')\n#1 \/var\/www\/html\/magento2\/vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php(48): Magento\\Framework\\ObjectManager\\Definition\\Runtime->getParameters('Dotdigitalgroup...')\n#2 \/var\/www\/html\/magento2\/vendor\/magento\/framework\/ObjectManager\/ObjectManager.php(70): Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create('Dotdigitalgroup...')\n#3 \/var\/www\/html\/magento2\/vendor\/magento\/framework\/Event\/ObserverFactory.php(33): Magento\\Framework\\ObjectManager\\ObjectManager->get('Dotdigitalgroup...')\n#4 \/var\/www\/html\/magento2\/vendor\/magento\/framework\/Event\/Invoker\/InvokerDefault.php(58): Magento\\Framework\\Event\\ObserverFactory->get('Dotdigitalgroup...')\n#5 \/var\/www\/html\/magento2\/vendor\/magento\/framework\/Event\/Manager.php(66): Magento\\Framework\\Event\\Invoker\\InvokerDefault->dispatch(Array, Object(Magento\\Framework\\Event\\Observer))\n#6 \/var\/www\/html\/magento2\/generated\/code\/Magento\/Framework\/Event\/Manager\/Proxy.php(95): Magento\\Framework\\Event\\Manager->dispatch('view_block_abst...', Array)\n#7 \/var\/www\/html\/magento2\/vendor\/magento\/framework\/View\/Element\/AbstractBlock.php(652): Magento\\Framework\\Event\\Manager\\Proxy->dispatch('view_block_abst...', Array)\n#8 \/var\/www\/html\/magento2\/vendor\/magento\/framework\/View\/Result\/Page.php(248): Magento\\Framework\\View\\Element\\AbstractBlock->toHtml()\n#9 \/var\/www\/html\/magento2\/vendor\/magento\/framework\/View\/Result\/Layout.php(170): Magento\\Framework\\View\\Result\\Page->render(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\n#10 \/var\/www\/html\/magento2\/generated\/code\/Magento\/Backend\/Model\/View\/Result\/Page\/Interceptor.php(193): Magento\\Framework\\View\\Result\\Layout->renderResult(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\n#11 \/var\/www\/html\/magento2\/vendor\/magento\/framework\/App\/Http.php(139): Magento\\Backend\\Model\\View\\Result\\Page\\Interceptor->renderResult(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\n#12 \/var\/www\/html\/magento2\/generated\/code\/Magento\/Framework\/App\/Http\/Interceptor.php(24): Magento\\Framework\\App\\Http->launch()\n#13 \/var\/www\/html\/magento2\/vendor\/magento\/framework\/App\/Bootstrap.php(257): Magento\\Framework\\App\\Http\\Interceptor->launch()\n#14 \/var\/www\/html\/magento2\/index.php(39): Magento\\Framework\\App\\Bootstrap->run(Object(Magento\\Framework\\App\\Http\\Interceptor))\n#15 {main}","url":"\/admin_20y1ta\/admin\/index\/index\/key\/238c78ecce5282a31b13e72da2a93fd8a0faa052b57f977459779c16c4f32d9a\/","script_name":"\/index.php"}'

 

in the Store page is no Errors and it works normally

what can i do?

 

Thankyou

1 ACCEPTED SOLUTION

Accepted Solutions

Re: There has been an error processing your request

Hello @donald_dushi

 

Please try to follow below instructions to fix this:

 

Delete the generated/code directory rm -rf generated/code
Then run
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
chmo -R 0777 var/ pub/ generated/

Now try to run the site, it should be perfect now. Cheers

Manish Mittal
https://www.manishmittal.com/

View solution in original post

13 REPLIES 13

Re: There has been an error processing your request

Hi @donald_dushi

 

You required to run below command in sequence - open your SSH command line terminal and run below commands :

 

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

Hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: There has been an error processing your request

Hello @donald_dushi

 

Please try to follow below instructions to fix this:

 

Delete the generated/code directory rm -rf generated/code
Then run
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
chmo -R 0777 var/ pub/ generated/

Now try to run the site, it should be perfect now. Cheers

Manish Mittal
https://www.manishmittal.com/

Re: There has been an error processing your request

how to run the code

Thank you in advance

I have downloaded composer

Re: There has been an error processing your request

chmod -R 0777 var/ pub/ generated/ and not chmo -R 0777 var/ pub/ generated/

 

Re: There has been an error processing your request

Here is also a complex solution for how to fix the "There has been an error processing your request" error in case someone is interested

Re: There has been an error processing your request

worked  

Re: There has been an error processing your request

If it doesn't work after the commands are run, this is the what to do because it's not always as simple as run the commands.  In my case the module Dotdigitalgroup_Email needs to be activated.  No way to know this unless to read the error.

 

So I agree with the answer above as well:

Re: There has been an error processing your request

Here is also a complex solution for how to fix the "There has been an error processing your request" error in case someone is interested

https://magefan.com/there-has-been-an-error-processing-your-request

Re: There has been an error processing your request

Salut 

 

j'ai installé magento magento-ce-2.4.0_sample_data-2020-07-26-02-27-05 sur windows sous xamp

 

l'installation était correcte, sans erreurs mais sur la page d'administration  j'ai cette erreur

Exception printing is disabled by default for security reasons.

Error log record number: e25aef399ff77e055446005371e284bd2d66b294dbe7847376150ddee72bac98

1 exception(s):
Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: 'C:/xampp/htdocs/magento2-4/vendor/magento/module-theme/view/frontend/templates/page/js/require_js.phtml' in module: '' block's name: 'require.js'

Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: 'C:/xampp/htdocs/magento2-4/vendor/magento/module-theme/view/frontend/templates/page/js/require_js.phtml' in module: '' block's name: 'require.js'
<pre>#1 Magento\Framework\View\Element\Template->_toHtml() called at [vendor\magento\framework\View\Element\AbstractBlock.php:1111]
#2 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() called at [vendor\magento\framework\View\Element\AbstractBlock.php:1115]
#3 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [vendor\magento\framework\View\Element\AbstractBlock.php:675]
#4 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [vendor\magento\framework\View\Result\Page.php:249]
#5 Magento\Framework\View\Result\Page->render(&Magento\Framework\App\Response\Http\Interceptor#00000000150205b700000000503c43da#) called at [vendor\magento\framework\View\Result\Layout.php:171]
#6 Magento\Framework\View\Result\Layout->renderResult(&Magento\Framework\App\Response\Http\Interceptor#00000000150205b700000000503c43da#) called at [vendor\magento\framework\Interception\Interceptor.php:58]
#7 Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', array(&Magento\Framework\App\Response\Http\Interceptor#00000000150205b700000000503c43da#)) called at [vendor\magento\framework\Interception\Interceptor.php:138]
#8 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Response\Http\Interceptor#00000000150205b700000000503c43da#) called at [vendor\magento\framework\Interception\Interceptor.php:153]
#9 Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', array(&Magento\Framework\App\Response\Http\Interceptor#00000000150205b700000000503c43da#), array(array('deferJsToFooter', 'result-messages', 'result-builtin-c...', 'result-varnish-c...'))) called at [generated\code\Magento\Framework\View\Result\Page\Interceptor.php:95]
#10 Magento\Framework\View\Result\Page\Interceptor->renderResult(&Magento\Framework\App\Response\Http\Interceptor#00000000150205b700000000503c43da#) called at [vendor\magento\framework\App\Http.php:120]
#11 Magento\Framework\App\Http->launch() called at [generated\code\Magento\Framework\App\Http\Interceptor.php:23]
#12 Magento\Framework\App\Http\Interceptor->launch() called at [vendor\magento\framework\App\Bootstrap.php:263]
#13 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#00000000150205be00000000503c43da#) called at [index.php:39]

 

Re: There has been an error processing your request

First, enable exception printing to display detailed errors on your website.

You can do that by renaming local.xml.sample located in pub\error to local.xml

If you do it properly, the error message will be like this

Unable to retrieve deployment version of static files from the file system.

 

<< Snipped >>