cancel
Showing results for 
Search instead for 
Did you mean: 

Can't log in to web admin: "An error has happened during application run. See exception log ..."

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Can't log in to web admin: "An error has happened during application run. See exception log ..."

here is the error message 

 

Fatal error: Declaration of Temando\Shipping\Model\ResourceModel\Repository\OrderRepositoryInterface\Proxy::save(Temando\Shipping\Model\OrderInterface $order) must be compatible with Temando\Shipping\Model\ResourceModel\Repository\OrderRepositoryInterface::save(Temando\Shipping\Model\OrderInterface $order, Temando\Shipping\Api\Data\Order\OrderReferenceInterface $orderReference) in /home/xxxxxxxxxx/public_html/generated/code/Temando/Shipping/Model/ResourceModel/Repository/OrderRepositoryInterface/Proxy.php on line 7

2 REPLIES 2

Re: Can't log in to web admin: "An error has happened during application run. See exception log

Hello @KO2076 

 

Remove generated/code/* and run below command once:

php -dmemory_limit=-1 bin/magento setup:di:compile

 

What is your php version? 

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

Re: Can't log in to web admin: "An error has happened during application run. See exception log

Hello @KO2076 .

 

 

Please give me permission at once below way 

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
find ./var -type d -exec chmod 777 {} \;
find ./generated -type d -exec chmod 777 {} \;
find ./pub/media -type d -exec chmod 777 {} \;
find ./pub/static -type d -exec chmod 777 {} \;
chmod 777 ./app/etc
chmod 644 ./app/etc/*.xml
chown -R :<web server group> .
chmod u+x bin/magento

Before give above permission, Please deploy static content by below command 

php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento setup:upgrade
rm -rf pub/static/frontend/* pub/static/adminhtml/* var/cache/ var/generation/ var/page_cache/ var/view_preprocessed/ var/composer_home generated/
php -dmemory_limit=6G bin/magento setup:static-content:deploy -f
chmod -Rf 777 pub/ var/ generated/
php bin/magento cache:clean

 

--
If my answer is useful, please Accept as Solution & give Kudos