• Resolved jaymoshield

    (@jaymoshield)


    I keep getting this error below on my order screen. There is about a months worth of orders missing. I have no clue what is causing it. I have tried updating woocommerce and all plug ins, disabling all plug ins, etc. nothing has fixed it.

Viewing 15 replies - 1 through 15 (of 19 total)
  • Hey there, @jaymoshield! Thanks for contacting us. I’m happy to help you.

    Have you received the email mentioned on the screenshot? If so, what did it said?

    Furthermore, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
    Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter jaymoshield

    (@jaymoshield)

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello jaymoshield

    Thank for your reply and for providing SSR and Error Logs.

    The Fatal Error may be caused by a conflict between plugins.
    For better troubleshooting, could you please set up a Staging site?

    I noticed that you are using the Bluehost Plugin, it offers a feature for creating a clone/staging site where we can troubleshoot this issue by conducting a Conflict Test.

    May I ask if you have made any changes on the site that could have resulted in the issue? This information might help find the root cause of the issue.

    Rest assured, I am here to resolve this issue.
    I look forward to your response. ??

    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

    Hey, @jaymoshield!

    Thanks for the information.

    I see you are on PHP version 8.3.3, which is the latest version, but it was updated very recently. Would you be able to downgrade the PHP version to a previous one to see if the issue persists?

    Your host is Blue Host, correct? They have a guide on it here.

    Please let us know about your findings.

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter jaymoshield

    (@jaymoshield)

    Carolm29,

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

    Thanks,

    Jay

    Hi Jay @jaymoshield,

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

    Thanks for trying the suggested troubleshooting options. Just to confirm, could you be using any custom code snippets in your WooCommerce store? This will help us understand the root cause of the issue.

    In the meantime, I’d recommend removing and re-installing the WooCommerce plugin. This has been a remedy to some of the issues faced by store owners.

    Let us know how it goes. Thanks.

    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

    Hey, @jaymoshield!

    Thanks for confirming about the custom code.

    Regarding the data, you can rest assured that removing Woo won’t cause you to lose your data. Woo’s database is not removed when the plugin is, you would need to actively remove the data from the database, so you can go ahead and try it.

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter jaymoshield

    (@jaymoshield)

    @carolm29

    This still didn’t fix it…

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @jaymoshield, does this error only happen on your orders page or any page? I tested your site on the front end, and it’s working fine; of course, I wasn’t able to make an actual purchase/place an order to test this fully, but I’m curious if you’re still receiving orders.

    Can you try disabling all the third-party plugins except WooCommerce, and reverting to PHP 8.2? I understand you already tried both things but I’m not sure if you tried both at the same time. This may help!

    Additionally, can you please?enable WP Debug?and share the log found in?WooCommerce → Status → Logs?and inside the error log file generated on your server?

    Looking forward to resolving this issue for you.

    All the best,
    Omar

    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

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @jaymoshield,

    Have you had a chance to disable the Order Attribution feature? You can find it under WooCommerce > Settings > Advanced > Features. After disabling it, check if it resolves the issue.

    Let us know how that goes. Looking forward to helping you.

    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
    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @jaymoshield,

    It seems one of your orders got broken due to the Order Splitter for WooCommerce plugin; the date paid parameter seems to be missing for one of the orders. In the first instance, can you check the orders handled by that plugin to see if any of them look odd to you?

    This would explain why disabling the plugins doesn’t fix the error, as the error currently seems to lie in one of the orders being broken/bugged.

    I know you mentioned you can’t peak into orders, but can you go into them individually to edit and learn more if any don’t include the paid date? https://prnt.sc/8USEkQpUV1Xe

    Please, let us know.

    -OP

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Error On Woocommerce Order Screen’ is closed to new replies.