Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter jaymoshield

    (@jaymoshield)

    All,

    Here is another error message i received.

    Error Details
    
    =============
    
    An error of type E_ERROR was caused in line 912 of the file /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php. Error message: Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:912
    
    Stack trace:
    
    #0 /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(912): preg_match('/^(\\d{4})-(\\d{2...', Array, NULL)
    
    #1 /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(1512): WC_Data->set_date_prop('date_paid', Array)
    
    #2 /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(801): WC_Order->set_date_paid(Array)
    
    #3 /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(127): WC_Data->set_props(Array)
    
    #4 /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php(150): WC_Order_Data_Store_CPT->read_order_data(Object(WC_Order), Object(WP_Post))
    
    #5 /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order))
    
    #6 /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(130): WC_Data_Store->read(Object(WC_Order))
    
    #7 /home4/moshiel1/public_html/wp-content/plugins/woo-order-splitter/pro/wcos-pro.php(8480): WC_Abstract_Order->__construct(5427)
    
    #8 /home4/moshiel1/public_html/wp-includes/class-wp-hook.php(324): wc_os_customer_name_column_data('order_number', 5427)
    
    #9 /home4/moshiel1/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    
    #10 /home4/moshiel1/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    
    #11 /home4/moshiel1/public_html/wp-admin/includes/class-wp-posts-list-table.php(1380): do_action('manage_posts_cu...', 'order_number', 5427)
    
    #12 /home4/moshiel1/public_html/wp-admin/includes/class-wp-list-table.php(1799): WP_Posts_List_Table->column_default(Object(WP_Post), 'order_number')
    
    #13 /home4/moshiel1/public_html/wp-admin/includes/class-wp-posts-list-table.php(1432): WP_List_Table->single_row_columns(Object(WP_Post))
    
    #14 /home4/moshiel1/public_html/wp-admin/includes/class-wp-posts-list-table.php(834): WP_Posts_List_Table->single_row(Object(WP_Post), 0)
    
    #15 /home4/moshiel1/public_html/wp-admin/includes/class-wp-posts-list-table.php(810): WP_Posts_List_Table->_display_rows(Array, 0)
    
    #16 /home4/moshiel1/public_html/wp-admin/includes/class-wp-list-table.php(1709): WP_Posts_List_Table->display_rows()
    
    #17 /home4/moshiel1/public_html/wp-admin/includes/class-wp-list-table.php(1636): WP_List_Table->display_rows_or_placeholder()
    
    #18 /home4/moshiel1/public_html/wp-admin/edit.php(503): WP_List_Table->display()
    
    #19 {main}
    
      thrown
    Thread Starter jaymoshield

    (@jaymoshield)

    omarfpg,

    I am not sure I know what you mean. This is getting really frustrating as I have months of orders missing from my order list.

    Best,

    Jay

    Thread Starter jaymoshield

    (@jaymoshield)

    Hey Shameem,

    This did not solve the issue. However, yesterday I was given an update email as to what is going wrong. See below. Also to add to the list., I can no longer click the eye ball icon to peak into the orders.

    Error Details
    
    =============
    
    An error of type E_ERROR was caused in line 912 of the file /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php. Error message: Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:912
    
    Stack trace:
    
    #0 /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(912): preg_match('/^(\\d{4})-(\\d{2...', Array, NULL)
    
    #1 /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(1512): WC_Data->set_date_prop('date_paid', Array)
    
    #2 /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(801): WC_Order->set_date_paid(Array)
    
    #3 /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(127): WC_Data->set_props(Array)
    
    #4 /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php(150): WC_Order_Data_Store_CPT->read_order_data(Object(WC_Order), Object(WP_Post))
    
    #5 /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order))
    
    #6 /home4/moshiel1/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(130): WC_Data_Store->read(Object(WC_Order))
    
    #7 /home4/moshiel1/public_html/wp-content/plugins/woo-order-splitter/pro/wcos-pro.php(8480): WC_Abstract_Order->__construct(5427)
    
    #8 /home4/moshiel1/public_html/wp-includes/class-wp-hook.php(324): wc_os_customer_name_column_data('order_number', 5427)
    
    #9 /home4/moshiel1/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    
    #10 /home4/moshiel1/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    
    #11 /home4/moshiel1/public_html/wp-admin/includes/class-wp-posts-list-table.php(1380): do_action('manage_posts_cu...', 'order_number', 5427)
    
    #12 /home4/moshiel1/public_html/wp-admin/includes/class-wp-list-table.php(1799): WP_Posts_List_Table->column_default(Object(WP_Post), 'order_number')
    
    #13 /home4/moshiel1/public_html/wp-admin/includes/class-wp-posts-list-table.php(1432): WP_List_Table->single_row_columns(Object(WP_Post))
    
    #14 /home4/moshiel1/public_html/wp-admin/includes/class-wp-posts-list-table.php(834): WP_Posts_List_Table->single_row(Object(WP_Post), 0)
    
    #15 /home4/moshiel1/public_html/wp-admin/includes/class-wp-posts-list-table.php(810): WP_Posts_List_Table->_display_rows(Array, 0)
    
    #16 /home4/moshiel1/public_html/wp-admin/includes/class-wp-list-table.php(1709): WP_Posts_List_Table->display_rows()
    
    #17 /home4/moshiel1/public_html/wp-admin/includes/class-wp-list-table.php(1636): WP_List_Table->display_rows_or_placeholder()
    
    #18 /home4/moshiel1/public_html/wp-admin/edit.php(503): WP_List_Table->display()
    
    #19 {main}
    
      thrown
    Thread Starter jaymoshield

    (@jaymoshield)

    Omar,

    The only time I see this error is on the order page. I have already tried disabling all plug ins except woo but no luck. Above are all error logs.

    Thanks,

    Jay

    Thread Starter jaymoshield

    (@jaymoshield)

    @carolm29

    This still didn’t fix it…

    Thread Starter jaymoshield

    (@jaymoshield)

    @ckadenge,

    We are not using any custom code. Will uninstalling and reinstalling woo cause us to lose any data?

    Thanks,

    Jay

    Thread Starter jaymoshield

    (@jaymoshield)

    Carolm29,

    I just tried both PHP V 8.1 and V 8.2. Neither made a difference.

    Thanks,

    Jay

    Thread Starter jaymoshield

    (@jaymoshield)

    Zubair,

    We have not made any changed to Blue Host or the WooComerce site itself. The most we have done is updated plugins. I have tried deactivating all plug ins and only having WooCommerce activated and I am still getting the same error. i have also tried downgrading to a previous version of woo with no luck… Hope this helps.

    Jay

    Thread Starter jaymoshield

    (@jaymoshield)

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