• Resolved Oleg

    (@submedia)


    Hello,

    The latest at this moment plugin update 1.8.4 leads to 500 error for POST /?wc-ajax=checkout. This prevents user to see thank-you page and order confirmation email not send.

    From the apache logs found the following:

    Uncaught Error: Call to undefined method WC_Product_Simple::get_items() in
    /var/www/vhosts/<domain>/httpdocs/wp-content/plugins/atum-stock-manager-for-woocommerce/classes/MetaBoxes/FileAttachment.php:140,
    referer: https://<domain>/checkout/

    Please have a look at this bug. Thank you!

    • This topic was modified 3 years, 9 months ago by Oleg.
Viewing 5 replies - 1 through 5 (of 5 total)
  • I have the same error

    2021-01-30T22:03:38+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_items() in /var/www/vhosts/***.com/httpdocs/wp-content/plugins/atum-stock-manager-for-woocommerce/classes/MetaBoxes/FileAttachment.php:140
    Stack trace:
    #0 /var/www/vhosts/***.com/httpdocs/wp-includes/class-wp-hook.php(287): Atum\MetaBoxes\FileAttachment->attach_files_to_wc_emails()
    #1 /var/www/vhosts/***.com/httpdocs/wp-includes/plugin.php(212): WP_Hook->apply_filters()
    #2 /var/www/vhosts/***.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-emails.php(638): apply_filters()
    #3 /var/www/vhosts/***.com/httpdocs/wp-includes/class-wp-hook.php(287): WC_Emails->low_stock()
    #4 /var/www/vhosts/***.com/httpdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #5 /var/www/vhosts/***.com/httpdocs/wp-includes/plugin.php(551): WP_Hook->do_action()
    #6 /var/www/vhosts/***.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_arr en /var/www/vhosts/***.com/httpdocs/wp-content/plugins/atum-stock-manager-for-woocommerce/classes/MetaBoxes/FileAttachment.php en la línea 140
    Plugin Author Salva Machi

    (@salvamb)

    Hi @submedia and @richardferlow

    We’re sorry for any inconvenience caused.

    FYI, we’ve identified the source of this issue and fixed it.
    As this is throwing a critical error, we are going to release a new patch version in minutes.

    Please, do update it when available and let me know if everything is working as expected on the new version.

    Best Regards,
    Salva.

    @salvamb
    Installed the update. Checking. Thanks for your quick response.

    Thread Starter Oleg

    (@submedia)

    Hi there. Let me confirm that the 1.8.4.1 update fixes the problem. Thank you Salva!

    • This reply was modified 3 years, 9 months ago by Oleg.
    Plugin Author Salva Machi

    (@salvamb)

    Good to know!

    You’re welcome ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Uncaught Error after latest update 1.8.4’ is closed to new replies.