critical error when used with cache
-
Hi,
I’m seeing an issue with the plugin on a Kinsta hosted site. When cache is disabled the plugin works as expected. With caching enabled then the plugin does not connect to the API and throws a critical error from the basket or checkout page as follows:
Uncaught Error: Class name must be a valid object or a string in /www/marmotorsportcom_989/public/wp-content/plugins/flexible-shipping-fedex/vendor_prefixed/jeremy-dunn/php-fedex-api-wrapper/src/FedEx/AbstractComplexType.php:160 Stack trace: #0 /www/marmotorsportcom_989/public/wp-content/plugins/flexible-shipping-fedex/vendor_prefixed/jeremy-dunn/php-fedex-api-wrapper/src/FedEx/RateService/Request.php(32): FedExVendor\FedEx\AbstractComplexType->populateFromStdClass(Object(stdClass)) #1 /www/marmotorsportcom_989/public/wp-content/plugins/flexible-shipping-fedex/vendor_prefixed/wpdesk/fedex-shipping-service/src/FedexShippingService/FedexApi/FedexSender.php(89): FedExVendor\FedEx\RateService\Request->getGetRatesReply(Object(FedExVendor\FedEx\RateService\ComplexType\RateRequest)) #2 /www/marmotorsportcom_989/public/wp-content/plugins/flexible-shipping-fedex/vendor_prefixed/wpdesk/fedex-shipping-service/src/FedexShippingService/FedexShippingService.php(132): FedExVendor\WPDesk\FedexShippingService\FedexApi\FedexSe in /www/marmotorsportcom_989/public/wp-content/plugins/flexible-shipping-fedex/vendor_prefixed/jeremy-dunn/php-fedex-api-wrapper/src/FedEx/AbstractComplexType.php on line 160
The above error was given with all plugins disabled except woocommerce. My host has tried bypassing caching, but still no joy.
Regards,
PaulThe page I need help with: [log in to see the link]
- The topic ‘critical error when used with cache’ is closed to new replies.