xcoreplatform / magento2-substituteorders

GNU General Public License v3.0
3 stars 9 forks source link

Fatal error: Uncaught Error bij View order #9

Closed Timothy-V closed 5 years ago

Timothy-V commented 5 years ago

Magento 2.2.7 OS SubstituteOrders 1.0.11

Frontend website - Account Dashboard -> Order history -> Klik View image

Foutmelding:

Fatal error: Uncaught Error: Call to a member function getValue() on null in /data/web/magento2/vendor/dealer4dealer/module-substituteorders/Controller/Order/View.php:143 Stack trace: #0 /data/web/magento2/vendor/dealer4dealer/module-substituteorders/Controller/Order/View.php(106): Dealer4Dealer\SubstituteOrders\Controller\Order\View->canViewOrder(Object(Dealer4Dealer\SubstituteOrders\Model\Order), Object(Magento\Customer\Model\Customer\Interceptor)) #1 /data/web/magento2/vendor/magento/framework/App/Action/Action.php(107): Dealer4Dealer\SubstituteOrders\Controller\Order\View->execute() #2 /data/web/magento2/vendor/dealer4dealer/module-substituteorders/Controller/Order/View.php(84): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #3 /data/web/magento2/vendor/magento/framework/Interception/Interceptor.php(58): Dealer4Dealer\SubstituteOrders\Controller\Order\View->dispatch(Object(Magento\Framework\App\Request\Http)) #4 /data/web/magento2/vendor/magento/framework/Interception/Interce in /data/web/magento2/vendor/dealer4dealer/module-substituteorders/Controller/Order/View.php on line 143