• After the last plugin update, when I click on “Generate AWP” I get a Fatal error. This error also appears in orders where the AWB was previously generated. Please check –

    Fatal error: Uncaught TypeError: Return value of SamedayCourierHelperClass::getHostCountry() must be of the type string, null returned in /home/customer/www/staging4.xpops.ro/public_html/wp-content/plugins/samedaycourier-shipping/classes/samedaycourier-helper-class.php:52 Stack trace: #0 /home/customer/www/staging4.xpops.ro/public_html/wp-content/plugins/samedaycourier-shipping/classes/samedaycourier-helper-class.php(60): SamedayCourierHelperClass::getHostCountry() #1 /home/customer/www/staging4.xpops.ro/public_html/wp-content/plugins/samedaycourier-shipping/classes/samedaycourier-sameday-class.php(502): SamedayCourierHelperClass::getApiUrl() #2 /home/customer/www/staging4.xpops.ro/public_html/wp-content/plugins/samedaycourier-shipping/samedaycourier-shipping.php(812): Sameday->showAwbHistory(7516) #3 /home/customer/www/staging4.xpops.ro/public_html/wp-includes/class-wp-hook.php(307): {closure}(Object(Automattic\WooCommerce\Admin\Overrides\Order)) #4 /home/customer/www/staging4.xpops.ro/public_html/wp-includes/class-wp-ho in /home/customer/www/staging4.xpops.ro/public_html/wp-content/plugins/samedaycourier-shipping/classes/samedaycourier-helper-class.php on line 52

  • The topic ‘Fatal error after the last plugin update’ is closed to new replies.