Title: Problems with plugin Uncaught Exception: invalid order
Last modified: January 5, 2022

---

# Problems with plugin Uncaught Exception: invalid order

 *  Resolved [seb1426](https://wordpress.org/support/users/seb1426/)
 * (@seb1426)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/problems-with-plugin-uncaught-exception-invalid-order/)
 * Hello, on my page I have presented multiple exceptions regarding a plugin. Apparently
   an error of an invalid order comes out. I would like to know why this problem
   occurs since all the orders given on my page work correctly, but this exception
   still occurs and is causing problems in the performance of my page. I don’t know
   if worfence is affecting something for this error to occur, maybe it’s blocking
   the order for some reason? I thank you in advance for helping me with this error,
   thank you very much! I enclose the full log message.
 *     ```
       2021-12-06T00:14:14+00:00 CRITICAL Uncaught Exception: No válido orden. in /var/www/html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:104
       Stack trace:
       #0 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read()
       #1 /var/www/html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(116): WC_Data_Store->read()
       #2 /var/www/html/wp-content/plugins/woo-payu-latam-sdk/includes/class-woo-payu-latam-sdk-plugin.php(194): WC_Abstract_Order->__construct()
       #3 /var/www/html/wp-includes/class-wp-hook.php(303): Woo_Payu_Latam_SDK_Plugin->payu_latam_sdk_pls_transaction_status()
       #4 /var/www/html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
       #5 /var/www/html/wp-includes/plugin.php(518): WP_Hook->do_action()
       #6 /var/www/html/wp-cron.php(138): do_action_ref_array()
       #7 {main}
         thrown en /var/www/html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php en la línea 104
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/problems-with-plugin-uncaught-exception-invalid-order/#post-15224704)
 * Hi [@seb1426](https://wordpress.org/support/users/seb1426/), thanks for your 
   message.
 * I can’t see anything in the stack trace that directly points to Wordfence or 
   the WAF, and also this doesn’t appear to be a commonly reported issue we see.
   However, it is possible that the “no valid order” error could be caused by bots
   so I suggest checking your **Live Traffic** for any bot/human logged events that
   match the timestamps on the errors you’re seeing. Let me know what the contents
   of those entries are if you can see any.
 * If you are able to replicate these errors, or they are occurring often enough
   to be predictable, it might be worth disabling Wordfence temporarily and see 
   if the errors subside. If they don’t, it’s unlikely that Wordfence is the cause
   but again, let me know if the errors stop so that we can look into the issue 
   further.
 * Thanks,
 * Peter.

Viewing 1 replies (of 1 total)

The topic ‘Problems with plugin Uncaught Exception: invalid order’ is closed to 
new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [webhooks](https://wordpress.org/support/topic-tag/webhooks/)
 * [woocomerce](https://wordpress.org/support/topic-tag/woocomerce/)

 * 1 reply
 * 2 participants
 * Last reply from: [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/problems-with-plugin-uncaught-exception-invalid-order/#post-15224704)
 * Status: resolved