Support » Plugin: ATUM Inventory Management for WooCommerce » Critical Error in Inbound Stock

  • Resolved richardferlow

    (@richardferlow)


    Hello

    I have lastest version of WordPress, Woocommerce and Atum on this moment

    Previously, inbound stock worked, but now, when I try to enter this section, it gives me a critical error. The error logs show the following

    28849#0: *1757232 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function prepare_items() on null in /var/www/vhosts/***.com/httpdocs/wp-content/plugins/atum-stock-manager-for-woocommerce/classes/Components/AtumListTables/AtumListPage.php:56
    Stack trace:
    #0 /var/www/vhosts/***.com/httpdocs/wp-content/plugins/atum-stock-manager-for-woocommerce/classes/InboundStock/InboundStock.php(97): Atum\Components\AtumListTables\AtumListPage->display()
    #1 /var/www/vhosts/***.com/httpdocs/wp-includes/class-wp-hook.php(287): Atum\InboundStock\InboundStock->display()
    #2 /var/www/vhosts/***.com/httpdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #3 /var/www/vhosts/***.com/httpdocs/wp-includes/plugin.php(484): WP_Hook->do_action()
    #4 /var/www/vhosts/***.com/httpdocs/wp-admin/admin.php(259): do_action()
    #5 {main}
    thrown in /var/www/vhosts/***.com/httpdocs/wp-content/plugins/atum-stock-manager-for-woocommerce/classes/Components/AtumListT" while reading response header from upstream
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Salva Machi

    (@salvamb)

    Hi @richardferlow

    I’ve been reading the related code and ATUM and this error is very weird. Also, we are not aware of any other user having this error. So, I guess it should be something related to your specific configuration. Let’s try to determine what’s causing this.
    I’d start trying these things (in order):

    1. Try to disable all your plugins and check if it works in that way. If it works, try to reactivate them (one by one) until you find the source
    2. Try to switch your current theme also to any default one (like WooCommerce’s Storefront, for example, and try in that way
    3. Try to uninstall ATUM completely and reinstall it again from the plugins page directly (avoid doing so manually if possible, please)

    I’d recommend you do this on a staging site (if possible).

    Please, let us know if any of the above points worked.

    Best Regards,
    Salva.

    Thread Starter richardferlow

    (@richardferlow)

    Hi @salvamb

    Thanks for the help. I found that this error appears if the Stock Central module in Atum Settings is disabled

    Plugin Author Salva Machi

    (@salvamb)

    Hi @richardferlow

    I’ve just tried to disable the Stock Central’s module and went to the Inbound Stock’s list and everything works correctly on my side.

    Please, leave it enabled if it is not a big inconvenience. The error would need to be deeply investigated, but It may resolve itself with future updates.

    If you need extra help with this, just let us know, please 😉

    Best Regards,
    Salva.

    • This reply was modified 2 months, 3 weeks ago by Salva Machi.
    • This reply was modified 2 months, 3 weeks ago by Salva Machi.
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.