[ad_1]
Привет!
При объединении заказов с доставкой СДЭК (плагин интеграции СДЭК для Woocommerce “woocommerce-edostavka”) с версией PHP 8.0 и PHP 8.1 происходит фатальная ошибка и заказы не объединяются. С версией PHP 7.4 все работает хорошо.
Ошибка:
Fatal error: Uncaught Error: The script tried to modify a property on an incomplete object. Please ensure that the class definition "WD_Edostavka_Shipping" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition
in /var/www/www-root/data/www/xxxxxxxxxx.ru/wp-includes/formatting.php on line 5131
Call stack:
map_deep()
wp-includes/formatting.php:5126
map_deep()
wp-includes/formatting.php:5126
map_deep()
wp-includes/formatting.php:2851
stripslashes_deep()
wp-includes/formatting.php:5784
wp_unslash()
wp-includes/meta.php:208
update_metadata()
wp-includes/post.php:2550
update_post_meta()
wp-content/plugins/woo-ultimate-order-combination/inc/functions.php:420
wuoc_order_splitter::wuoc_update_post_meta()
wp-content/plugins/woo-ultimate-order-combination/inc/functions-plus.php:862
wuoc_bulk_order_splitter::custom_bulk_action()
wp-includes/class-wp-hook.php:310
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:334
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-admin/admin.php:385
require_once() wp-admin/edit.php:10
