وردپرس

Fatal Error viewing order | WordPress.org


Fatal error: Uncaught Error: preg_match(): Argument #2 ($subject) must be of type string, array given
in /public_html/wp-includes/formatting.php on line 1608

Call stack:

preg_match()
wp-includes/formatting.php:1608
remove_accents()
wp-includes/formatting.php:2223
sanitize_title()
wp-content/plugins/wc-vendors/classes/class-vendors.php:550
WCV_Vendors::get_vendor_id()
wp-content/plugins/wc-vendors/classes/class-vendors.php:608
WCV_Vendors::get_vendor_shop_name()
wp-content/plugins/wc-vendors/classes/includes/wcv-vendor-functions.php:230
wcv_get_order_vendors_shipped_text()
wp-content/plugins/wc-vendors/classes/admin/class-wcv-admin-orders.php:66
WCVendors_Admin_Orders::add_vendor_shipped_details()
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php:623
WC_Meta_Box_Order_Data::output()
wp-admin/includes/template.php:1456
do_meta_boxes()
wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php:496
Automattic\W\I\A\O\Edit::render_meta_boxes()
wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php:405
Automattic\W\I\A\O\Edit::display()
wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php:293
Automattic\W\I\A\O\PageController::output()
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-admin/admin.php:259

Hello, When looking at an order that has gone through in the woocommerce edit screen i.e. (wc-orders&action=edit&id=123) I get this fatal error. Removing your plugin I can load that page fine? Are you able to replicate it? Thanks

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا