cancel
Showing results for 
Search instead for 
Did you mean: 

magento 2 Error "An error has happened during application run. See exception log for details"

SOLVED

Re: magento 2 Error "An error has happened during application run. See exception log for detail

Hello,

I'm using the PHP Version 7.3.1.

Best regards,

Louis

Re: magento 2 Error "An error has happened during application run. See exception log for detail

Hi

 

Can some one help me with this issiu?

 

main.CRITICAL: Exception: Deprecated Functionality: Function mcrypt_module_open() is deprecated in /home/hpeshopc/public_html/hpe/vendor/magento/framework/Encryption/Crypt.php on line 54 in /home/hpeshopc/public_html/hpe/vendor/magento/framework/App/ErrorHandler.php:61
Stack trace:
#0 /home/hpeshopc/public_html/hpe/vendor/magento/framework/Encryption/Crypt.php(54): Magento\Framework\App\ErrorHandler->handler(8192, 'Function mcrypt...', '/home/hpeshopc/...', 54, Array)
#1 /home/hpeshopc/public_html/hpe/vendor/magento/framework/Encryption/Encryptor.php(401): Magento\Framework\Encryption\Crypt->__construct('5c773093231aabe...', 'blowfish', 'ecb', false)
#2 /home/hpeshopc/public_html/hpe/vendor/magento/framework/Encryption/Encryptor.php(313): Magento\Framework\Encryption\Encryptor->getCrypt('5c773093231aabe...', 0, false)
#3 /home/hpeshopc/public_html/hpe/vendor/magento/module-config/Model/Config/Backend/Encrypted.php(109): Magento\Framework\Encryption\Encryptor->decrypt('PayPal')
#4 /home/hpeshopc/public_html/hpe/var/generation/Magento/Config/Model/Config/Backend/Encrypted/Interceptor.php(37): Magento\Config\Model\Config\Backend\Encrypted->processValue('PayPal')
#5 /home/hpeshopc/public_html/hpe/vendor/magento/framework/App/Config/MetadataConfigTypeProcessor.php(88): Magento\Config\Model\Config\Backend\Encrypted\Interceptor->processValue('PayPal')
#6 /home/hpeshopc/public_html/hpe/vendor/magento/framework/App/Config/MetadataConfigTypeProcessor.php(106): Magento\Framework\App\Config\MetadataConfigTypeProcessor->processScopeData(Array)
#7 /home/hpeshopc/public_html/hpe/vendor/magento/framework/App/Config/PostProcessorComposite.php(34): Magento\Framework\App\Config\MetadataConfigTypeProcessor->process(Array)
#8 /home/hpeshopc/public_html/hpe/var/generation/Magento/Framework/App/Config/PostProcessorComposite/Proxy.php(95): Magento\Framework\App\Config\PostProcessorComposite->process(Array)
#9 /home/hpeshopc/public_html/hpe/vendor/magento/module-config/App/Config/Type/System.php(166): Magento\Framework\App\Config\PostProcessorComposite\Proxy->process(Array)
#10 /home/hpeshopc/public_html/hpe/vendor/magento/module-config/App/Config/Type/System.php(112): Magento\Config\App\Config\Type\System->loadConfig()
#11 /home/hpeshopc/public_html/hpe/vendor/magento/framework/App/Config.php(139): Magento\Config\App\Config\Type\System->get('default/web/sec...')
#12 /home/hpeshopc/public_html/hpe/vendor/magento/framework/App/Config.php(90): Magento\Framework\App\Config->get('system', 'default/web/sec...')
#13 /home/hpeshopc/public_html/hpe/vendor/magento/framework/App/Config.php(103): Magento\Framework\App\Config->getValue('web/secure/use_...', 'default', NULL)
#14 /home/hpeshopc/public_html/hpe/vendor/magento/module-store/Model/HeaderProvider/Hsts.php(48): Magento\Framework\App\Config->isSetFlag('web/secure/use_...')
#15 /home/hpeshopc/public_html/hpe/vendor/magento/framework/App/Response/HeaderManager.php(41): Magento\Store\Model\HeaderProvider\Hsts->canApply()
#16 /home/hpeshopc/public_html/hpe/vendor/magento/framework/Interception/Interceptor.php(123): Magento\Framework\App\Response\HeaderManager->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor))
#17 /home/hpeshopc/public_html/hpe/var/generation/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array)
#18 /home/hpeshopc/public_html/hpe/pub/errors/report.php(15): Magento\Framework\App\Response\Http\Interceptor->sendResponse()
#19 /home/hpeshopc/public_html/hpe/vendor/magento/framework/App/Http.php(324): require('/home/hpeshopc/...')
#20 /home/hpeshopc/public_html/hpe/vendor/magento/framework/App/Http.php(160): Magento\Framework\App\Http->handleGenericReport(Object(Magento\Framework\App\Bootstrap), Object(Exception))
#21 /home/hpeshopc/public_html/hpe/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception))
#22 /home/hpeshopc/public_html/hpe/index.php(43): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#23 {main} [] []

Thx

Re: magento 2 Error "An error has happened during application run. See exception log for detail

hi Every one 

I got this type of errors in magento 2.3.1 versions

 

Any body can you please solve the problem

 

 

Re: magento 2 Error "An error has happened during application run. See exception log for detail

just change folder permission:- sudo chmod 777 -R /var/www/html/magento_quad

on my way issue resolved.

Re: magento 2 Error "An error has happened during application run. See exception log for detail

how and where do you change this? is it in magento? if so where?

Re: magento 2 Error "An error has happened during application run. See exception log for detail

Hi, community,

I am new to Magento and facing the same problem.

 

exception log:

[2019-09-14 08:32:55] main.CRITICAL: Class Magento\Framework\App\Http\Interceptor does not exist {"exception":"[object] (ReflectionException(code: -1): Class Magento\\Framework\\App\\Http\\Interceptor does not exist at /var/www/html/magento/lib/internal/Magento/Framework/Code/Reader/ClassReader.php:19)"} []
[2019-09-14 08:33:00] main.CRITICAL: Class Magento\Framework\App\Http\Interceptor does not exist {"exception":"[object] (ReflectionException(code: -1): Class Magento\\Framework\\App\\Http\\Interceptor does not exist at /var/www/html/magento/lib/internal/Magento/Framework/Code/Reader/ClassReader.php:19)"} []
[2019-09-14 08:33:25] main.CRITICAL: Class Magento\Framework\App\Http\Interceptor does not exist {"exception":"[object] (ReflectionException(code: -1): Class Magento\\Framework\\App\\Http\\Interceptor does not exist at /var/www/html/magento/lib/internal/Magento/Framework/Code/Reader/ClassReader.php:19)"} []
[2019-09-14 08:33:27] main.CRITICAL: Class Magento\Framework\App\Http\Interceptor does not exist {"exception":"[object] (ReflectionException(code: -1): Class Magento\\Framework\\App\\Http\\Interceptor does not exist at /var/www/html/magento/lib/internal/Magento/Framework/Code/Reader/ClassReader.php:19)"} []

 

Please help us solve this problem.

Thanks & Regards

Re: magento 2 Error "An error has happened during application run. See exception log for detail

I used godaddy server with PHP Version 7.1.33.

Now, i am using AWS lightsail instance with PHP Version 7.2.24

 

I took the backup from Godaddy and uploaded files into aws instance.

 

Suddenly the website is not working.

 

https://13.235.236.199/

Re: magento 2 Error "An error has happened during application run. See exception log for detail

Hello, 

I am getting the same problem, 

I have followed below steps and got success:-

- Open terminal.

- Go on own Magento project directory.

Ex. I am using the lamp server in the localhost so my path is var/www/Html/magento23

where magento23 is my Magento project directory.

- Type a command "cd /var/www/Html/magento23" and press enter button.

- Currently, my current terminal directory is magento23.

- Run the command "chmod -R 777 var/* generated/* pub/static/"
- If you will use ubuntu OS so please run the command "sudo chmod -R 777 var/* generated/* pub/static/".

 

Re: magento 2 Error "An error has happened during application run. See exception log for detail

and as if by magic on version 2.3.4 the same $hit!! I've tried going back to php 7.1.33 and still the same message. Great!!

Re: magento 2 Error "An error has happened during application run. See exception log for detail

I have the same issue with magento 2.3.4 , and I tried many solution in this topic and still it is not working..