• Resolved divijc

    (@divijc)


    Getting the following fatal error repeatedly in error log file:

    Uncaught Error: Call to a member function item() on null in /home/website/public_html/wp-content/plugins/wc-smart-cod/public/class-wc-smart-cod-public.php:268
    Stack trace:
    #0 /home/website/public_html/wp-includes/class-wp-hook.php(286): Wc_Smart_Cod_Public->apply_custom_message(Array)
    #1 /home/website/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
    #2 /home/website/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(258): apply_filters(‘woocommerce_upd…’, Array)
    #3 /home/website/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(272): WC_AJAX::update_order_review_expired()
    #4 /home/website/public_html/wp-includes/class-wp-hook.php(286): WC_AJAX::update_order_review(”)
    #5 /home/website/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #6 /home/website/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #7 /home/website/public_html/wp-content/plugins/woocommerce/includes/class-w

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author FullStack-ing

    (@fullstackhouse)

    Did you changed your theme or the markup of the payment gateways in general?
    Can you send me your website link so I can see the markup?

    Disable the custom messages until this is fixed.

    Thread Starter divijc

    (@divijc)

    Hi, you can see the website here- https://www.inventocut.com

    I am using Flatsome theme and I didn’t change the markup manually. However, I am using a SMS OTP plugin which sends an OTP to the customer if the payment mode is cash on delivery.

    Let me know if you require any further info or access to the admin.

    Plugin Author FullStack-ing

    (@fullstackhouse)

    I checked your website and the custom messages are working.

    Did you disabled the sms plugin? I have to know what markup is producing, to be able to find a workaround for this.

    Thread Starter divijc

    (@divijc)

    Yes, the plugin is disabled as of now. You can check the website.

    Also, Custom messages are working even with this plugin enabled. I am just getting the error in the error logs.

    Let me know if you require any other info.

    Plugin Author FullStack-ing

    (@fullstackhouse)

    So it’s not a fatal error. A fatal error would stop the execution of the page render. Leave it as it is for now ( reenable the sms plugin ), nothing to worry about . I will check this again in a future version.

    Thread Starter divijc

    (@divijc)

    Thanks, let me know once you have sorted this in a future update.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error’ is closed to new replies.