• Just checked my error logs.

    I faced the problem in the woocommerce orders page. I tried to delete the orders from cancelled list in orders page and it wont go to trash and wp said there is a critical error then i checked the admin error log.

    It happened when I updated to the latest version how do I roll back the update.

    [18-Apr-2023 17:29:11 UTC] PHP Fatal error: Uncaught TypeError: Return value of YITH_WCAF_Abstract_Objects_Collection::key() must be an instance of mixed, null returned in /home/xx/public_html/wp-content/plugins/yith-woocommerce-affiliates/includes/abstracts/class-yith-wcaf-abstract-objects-collection.php:281
    Stack trace:
    
    0 /home/xx/public_html/wp-content/plugins/yith-woocommerce-affiliates/includes/abstracts/class-yith-wcaf-abstract-objects-collection.php(294): YITH_WCAF_Abstract_Objects_Collection->key()
    
    1 /home/xx/public_html/wp-content/plugins/yith-woocommerce-affiliates/includes/class-yith-wcaf-orders.php(305): YITH_WCAF_Abstract_Objects_Collection->valid()
    
    2 /home/xx/public_html/wp-content/plugins/yith-woocommerce-affiliates/includes/class-yith-wcaf-orders.php(544): YITH_WCAF_Orders->delete_commissions(452510, true)
    
    3 /home/xx/public_html/wp-includes/class-wp-hook.php(308): YITH_WCAF_Orders->trashed(452510)
    
    4 /home/xx/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    
    5 /h in /home/xx/public_html/wp-content/plugins/yith-woocommerce-affiliates/includes/abstracts/class-yith-wcaf-abstract-objects-collection.php on line 281
    • This topic was modified 1 year, 7 months ago by dnex11.
Viewing 2 replies - 1 through 2 (of 2 total)
  • I also get an error

    Fatal error: Uncaught TypeError: Return value of YITH_WCAF_Abstract_Objects_Collection::key() must be an instance of mixed, int returned in /home3/host1839650/tui3.ru/htdocs/www/wp-content/plugins/yith-woocommerce-affiliates/includes/abstracts/class-yith-wcaf-abstract-objects-collection.php:281 Stack trace: #0 /home3/host1839650/tui3.ru/htdocs/www/wp-content/plugins/yith-woocommerce-affiliates/includes/abstracts/class-yith-wcaf-abstract-objects-collection.php(294): YITH_WCAF_Abstract_Objects_Collection->key() #1 /home3/host1839650/tui3.ru/htdocs/www/wp-admin/includes/class-wp-list-table.php(1485): YITH_WCAF_Abstract_Objects_Collection->valid() #2 /home3/host1839650/tui3.ru/htdocs/www/wp-admin/includes/class-wp-list-table.php(1471): WP_List_Table->display_rows() #3 /home3/host1839650/tui3.ru/htdocs/www/wp-admin/includes/class-wp-list-table.php(1398): WP_List_Table->display_rows_or_placeholder() #4 /home3/host1839650/tui3.ru/htdocs/www/wp-content/plugins/yith-woocommerce-affiliates/includes/abstracts/class-yith-wcaf-abstrac in?/home3/host1839650/tui3.ru/htdocs/www/wp-content/plugins/yith-woocommerce-affiliates/includes/abstracts/class-yith-wcaf-abstract-objects-collection.php?on line?281

    Plugin Support Alexis Salazar

    (@asaldel)

    Hello there,

    hope you are doing well!

    We have just released a new plugin version (2.13.1) that solves the issue. So, please, update the plugin to this latest version.

    Let us know any news, please.

    Have a nice day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The new update is breaking the dashboard’ is closed to new replies.