【发布时间】:2021-10-04 11:42:34
【问题描述】:
截至 2021 年 7 月 27 日,我在尝试通过 WooCommerce 创建运输标签时刚刚开始收到以下错误:
“意外的服务器错误”
我访问了 WooCommerce 日志,发现以下内容:
致命错误-2021-06-30-5a8cdf72b61eb062429327964e479de2.log
2021-06-30T21:13:42+00:00 严重未捕获错误:调用 /var/www/wp-content/plugins/woocommerce/includes/class-wc- 中 bool 上的成员函数 get_instance_option_key() ajax.php:2900 堆栈跟踪: #0 /var/www/wp-includes/class-wp-hook.php(292): WC_AJAX::shipping_zone_methods_save_changes('') #1 /var/www/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #2 /var/www/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /var/www/wp-admin/admin-ajax.php(187): do_action('wp_ajax_woocomm...') #4 {主要} 在第 2900 行的 /var/www/wp-content/plugins/woocommerce/includes/class-wc-ajax.php 中抛出
我的所有插件都已更新,并且我能够在 2021 年 7 月 27 日之前创建运输标签。有没有其他人遇到过这个问题,或者知道如何解决这个问题?
【问题讨论】:
标签: php wordpress woocommerce shipping elementor