Fatal Error Admin Order method_exists
-
You get a fatal error in the admin order screen if the product does not exist anymore. In admin_order.php line 20 you are using the method_exists call, but if the product does not exist it throws an error since you have to pass an object or class. In this case $product is false.
Can you please add a check / handle it when a product no longer exists for the admin order screen?
Here is a screenshot of the error in an admin order screen:
https://www.dropbox.com/scl/fi/daxsd4uvkk0mx0766iydq/pk_1707240379.png?rlkey=zcoccsfq77oblo9sbpom5x09e&raw=1
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Fatal Error Admin Order method_exists’ is closed to new replies.