• Resolved pduclo

    (@pduclo)


    I think that this was caused by Trashing some orders in Woocommerce and emptying the trash. The trashed orders may have had review reminders scheduled. Now Reviews -> Reminder page is looking for that order and can’t find it. Getting the below error.

    Dashboard -> Reviews -> Reminders page
    The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

    Error Details
    =============
    An error of type E_ERROR was caused in line 101 of the file /var/www/html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php. Error message: Uncaught Exception: Invalid order. in /var/www/html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:101
    Stack trace:
    #0 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order))
    #1 /var/www/html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(111): WC_Data_Store->read(Object(WC_Order))
    #2 /var/www/html/wp-content/plugins/customer-reviews-woocommerce/class-ivole-reminders-list-table.php(62): WC_Abstract_Order->__construct(63885)
    #3 /var/www/html/wp-content/plugins/customer-reviews-woocommerce/class-ivole-admin-menu-reminders.php(137): Ivole_Reminders_List_Table->prepare_items()
    #4 /var/www/html/wp-includes/class-wp-hook.php(286): Ivole_Reminders_Admin_Menu->display_reminders_admin_page(”)
    #5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #6 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #7 /var/www/html/wp

Viewing 3 replies - 1 through 3 (of 3 total)
  • @pduclo thanks for using our plugin.

    That seems to be correct. You will need to remove the reminders for those orders that has already been scheduled. The “Cron” events for these reminders needs to be deleted. But since the reminder page is not accessible, you will need to use a third-party (free) plugin for this purpose: https://www.ads-software.com/plugins/wp-crontrol/.

    After you install it, go to Tools > Cron Events in WordPress admin menu.

    You will see a list of various cron events. Search for the event with a hook name = ivole_send_reminder and arguments = WooCommerce order number of the customer. Select all the orders you deleted from woocommerce and then click “Delete” button in wp-crontrol.

    This will unschedule the review reminders for those WooCommerce orders.

    Thread Starter pduclo

    (@pduclo)

    Thank you! Your instructions worked great.

    Thanks for letting me know. I’m glad that it worked.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Reminders Page Error’ is closed to new replies.