cancel
Showing results for 
Search instead for 
Did you mean: 

PHP Fatal Error in Tracking Feature

SOLVED

PHP Fatal Error in Tracking Feature

Hi,


Can anyone please let me know the solution for below error_log.

[19-May-2017 20:14:05 UTC] PHP Fatal error:  Uncaught Error: Call to a member function getTracking() on array in /home/store/public_html/vendor/magento/module-shipping/view/frontend/templates/tracking/details.phtml:22
Stack trace:
#0 /home/store/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include()
#1 /home/store/public_html/vendor/magento/framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Framework\View\Element\Template\Interceptor), '/home/lloydstor...', Array)
#2 /home/store/public_html/var/generation/Magento/Framework/View/Element/Template/Interceptor.php(102): Magento\Framework\View\Element\Template->fetchView('/home/lloydstor...')
#3 /home/store/public_html/vendor/magento/framework/View/Element/Template.php(279): Magento\Framework\View\Element\Template\Interceptor->fetchView('/home/lloydstor...')
#4 /home/store/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(659): Magento\Framework\View\Element\Template->_toHtml()
#5  in /home/store/public_html/vendor/magento/module-shipping/view/frontend/templates/tracking/details.phtml on line 22

Thanks,
Rize.

1 REPLY

Re: PHP Fatal Error in Tracking Feature

This is default bug in magento 2.1.* version.

Issue was already posted in github.
You can check this issue in github link,
Shipment with getTracking() function throws error.

This bug is resolved in current develop branch magento 2.2 so when New Version of Magento 2.2 is launched at that time This bug will fixed.

If you not helpful above github link, you can create your own issue in github and describe in brief for issue.
If this response was helpful to you, consider giving kudos to this post.
If this response solved your problem, click accept as solution to help others solve this.

If Issue Solved, Click Kudos/Accept As solutions.