cancel
Showing results for 
Search instead for 
Did you mean: 

Error 500 when i try to view order from admin side

SOLVED

Error 500 when i try to view order from admin side

Hello,

 

I have this error when i try to view order from the admin side:

 

Fatal error: Uncaught Error: Cannot instantiate interface Temando\Shipping\Api\Shipment\ShipmentStatusInterface in /home/tz/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:50 Stack trace: #0 /home/tz/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Temando\\Shippin...') #1 /home/tz/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(160): Magento\Framework\ObjectManager\ObjectManager->get('Temando\\Shippin...') #2 /home/tz/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(246): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Temando\\Shippin...', NULL, 'shipmentStatus', 'Temando\\Shippin...') #3 /home/tz/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Temando\\Shippin...', Array, Array) #4 /h in /home/tz/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php on line 50

and no error when i try to use this command only fail and not complete:

 

php -dmemory_limit=10G bin/magento setup:di:compile

Repositories code generation... 1/7 [==>-----------------] 14% < 1 sec 64.0 MiB

 

Please help me with this.

Regards,

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Error 500 when i try to view order from admin side

Hi @obeidat

It looks like there are some issue with Temando_Shipping extension.

Please try once after disable or uninstall it.

php bin/magento module:disable Temando_Shipping

Or upgrade this extension if available.

Then flush cache and check.

View solution in original post

4 REPLIES 4

Re: Error 500 when i try to view order from admin side

Hi @obeidat

It looks like there are some issue with Temando_Shipping extension.

Please try once after disable or uninstall it.

php bin/magento module:disable Temando_Shipping

Or upgrade this extension if available.

Then flush cache and check.

Re: Error 500 when i try to view order from admin side

Thank you it's working,

 

But i don't install this extension, this extension with theme ?

Re: Error 500 when i try to view order from admin side

I still have this error 

Repositories code generation... 1/7 [====>-----------------------]  14% < 1 sec 62.0 MiB
Fatal error: Class Temando\Shipping\Rest\ShipmentAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Temando\Shipping\Rest\Adapter\ShipmentApiInterface::getTrackingEvents) in /home/tz/public_html/vendor/temando/module-shipping-m2/Rest/ShipmentAdapter.php on line 32

Re: Error 500 when i try to view order from admin side

There may be more dependices of this extension.

Re enable once and disable for admin >store> sales> shipping method tab, if it has setting there.

Otherwise uninstall it after taking backup once. Or try once after rename temando folder from vendor.

rm -rf generated/*

Then deploy commands and check.

I hope it will help you.