cancel
Showing results for 
Search instead for 
Did you mean: 

There has been an error processing your request

SOLVED
Highlighted

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
Highlighted

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

7 REPLIES 7
Highlighted

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
Highlighted

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

Highlighted

Re: There has been an error processing your request

how to run the code

Thank you in advance

I have downloaded composer

Highlighted

Re: There has been an error processing your request

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

 

Highlighted

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

Highlighted

Re: There has been an error processing your request

worked  

Highlighted

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