Fatal error on checkout page, this plugin is a mess
-
This plugin even has issues during the activation. There is a notice appearing the plugin itself generates an output however it should not.
Sadly, this is not the biggest problem.
After going to the checkout page, it just crashes and throws fatal error.
Fatal error: Uncaught TypeError: Return value of SamedayCourierHelperClass::getSamedaySettings() must be of the type array, bool returned in /Users/martin/Sites/thermalpad.eu/wp-content/plugins/samedaycourier-shipping/classes/samedaycourier-helper-class.php:17 Stack trace: #0 /Users/martin/Sites/thermalpad.eu/wp-content/plugins/samedaycourier-shipping/classes/samedaycourier-helper-class.php(39): SamedayCourierHelperClass::getSamedaySettings() #1 /Users/martin/Sites/thermalpad.eu/wp-content/plugins/samedaycourier-shipping/samedaycourier-shipping.php(237): SamedayCourierHelperClass::isTesting() #2 /Users/martin/Sites/thermalpad.eu/wp-content/plugins/samedaycourier-shipping/samedaycourier-shipping.php(91): SamedayCourier_Shipping_Method->getAvailableServices() #3 /Users/martin/Sites/thermalpad.eu/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(233): SamedayCourier_Shipping_Method->calculate_shipping(Array) #4 /Users/martin/Sites/thermalpad.eu/wp-content/plugins/woocommerce/includes/class-wc- in /Users/martin/Sites/thermalpad.eu/wp-content/plugins/samedaycourier-shipping/classes/samedaycourier-helper-class.php on line 17
After enabling this shipping method I cannot even disable it.
I advise not to install it in production environment because it will be a huge suck. Luckily, I tested in development environment so my live site is not affected.
I think developers should immediately fix this plugin or it should be removed from the official plugin store.
- The topic ‘Fatal error on checkout page, this plugin is a mess’ is closed to new replies.