• Resolved brennsuppa

    (@brennsuppa)


    Wordpress caught a critical error caused by WC Vendors on the commission page.

    Uncaught Error: Call to a member function get_items() on boolean in /wp-content/plugins/wc-vendors/classes/admin/class-wcv-commissions-page.php:99
    Stack trace:
    #0 /wp-admin/includes/class-wp-list-table.php(1439): WCVendors_Commissions_Page->column_default(Object(stdClass), ‘product_id’)
    #1 /wp-admin/includes/class-wp-list-table.php(1379): WP_List_Table->single_row_columns(Object(stdClass))
    #2 /wp-admin/includes/class-wp-list-table.php(1366): WP_List_Table->single_row(Object(stdClass))
    #3 /wp-admin/includes/class-wp-list-table.php(1351): WP_List_Table->display_rows()
    #4 /wp-admin/includes/class-wp-list-table.php(1278): WP_List_Table->display_rows_or_placeholder()
    #5 wp-content/plugins/wc-vendors/classes/admin/views/html-admin-commission-page.php(33): WP_List_Tab

    What can I do to resolve this error?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @brennsuppa ,

    I’m sorry to hear that a critical error has been triggered in your site.

    Please could you try and re-install our plugin in your site and see if it fixes the issue? I’m afraid that I’m unable to replicate the issue from my test site.

    You could also follow our debugging guide here – https://docs.wcvendors.com/knowledge-base/the-debugging-guide/ and see if the issue is caused by a plugin or theme conflict.

    Please let us know how this goes.

    Jamie

    (@digitalchild)

    Hi @brennsuppa

    Jamie here, founder and lead developer. To follow on from this, I believe by the looks of that error, you might have deleted some test orders connected to commissions. We have an open issue to also clean up commissions when orders are deleted however we have not implemented this yet.

    If you have commissions linked to orders that have been deleted you will need to manually delete those orders from your database at this time.

    cheers,

    Jamie.

    Thread Starter brennsuppa

    (@brennsuppa)

    Hi @digitalchild and @junenacpil29

    Thank you for your responses, deleting commissions from unlinked orders in the database did the trick.

    Cheers,
    Joe

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Critical Error on commission page’ is closed to new replies.