• Resolved dubaidogfish

    (@dubaidogfish)


    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • irisslee95

    (@irisslee95)

    Hello @dubaidogfish! Can you please provide your environment details here
    WP Admin -> Woocommerce -> Status

    Thread Starter dubaidogfish

    (@dubaidogfish)

    It must be something my side, i rebuilt a new test site on the same server and progressively added in the same theme and installed and activated same plugins without issue so must be in the settings or my functions custom code, will let you know if find the issue. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal Error viewing order’ is closed to new replies.