• Resolved maineshakers

    (@maineshakers)


    I received a critical/fatal error on my site and when I looked into it, the error is in my admin report -> Stock. All of the inventory reports are reading with the same error. I haven’t made any changes but there was an automatic wordpress update yesterday.

    ‘Fatal error: Uncaught Error: Call to a member function get_id() on string in /home3/maineshakers/public_html/wp-content/plugins/woocommerce/includes/admin/reports/class-wc-report-stock.php:81 Stack trace: #0 /home3/maineshakers/public_html/wp-admin/includes/class-wp-list-table.php(1361): WC_Report_Stock->column_default(Object(stdClass), ‘product’) #1 /home3/maineshakers/public_html/wp-admin/includes/class-wp-list-table.php(1301): WP_List_Table->single_row_columns(Object(stdClass)) #2 /home3/maineshakers/public_html/wp-admin/includes/class-wp-list-table.php(1288): WP_List_Table->single_row(Object(stdClass)) #3 /home3/maineshakers/public_html/wp-admin/includes/class-wp-list-table.php(1273): WP_List_Table->display_rows() #4 /home3/maineshakers/public_html/wp-admin/includes/class-wp-list-table.php(1204): WP_List_Table->display_rows_or_placeholder() #5 /home3/maineshakers/public_html/wp-content/plugins/woocommerce/includes/admin/reports/class-wc-report-stock.php(68): WP_List_Table->display() #6 /home3/maineshakers/public_html/ in /home3/maineshakers/public_html/wp-content/plugins/woocommerce/includes/admin/reports/class-wc-report-stock.php on line 81′

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wpnomad a11n

    (@wpnomad)

    Hi @maineshakers,

    It seems that a plugin or theme is conflicting on your site resulting in the fatal error. We checked but we’re not getting the mentioned error on our sites with latest WordPress and WooCommerce versions.

    I recommend updating WooCommerce and WordPress to the latest versions, and then performing a conflict test as per the steps here: https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4

    Do let us know how that goes and if you need any further help from us.

    con

    (@conschneider)

    Engineer

    Hi there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Kind regards,

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Critical Error: Report Stock’ is closed to new replies.