Home Forums Plugins WooCommerce Notification Fatal Error

Fatal Error

  • Author
    Posts
  • #29692

    aaabbbccc
    Participant

    Hello,
    Today I’ve encountered a strange phenomenon.
    One product is no longer loading on the front end, it gives an error.
    This is an old product that we have on our store for years.

    I’ve looked in the debug log, and found an error by you:

    [30-Jun-2019 18:49:38 UTC] PHP Fatal error:  Uncaught Error: Call to a member function date_i18n() on null in /home/knives/domains/japanese-knives.co.il/public_html/wp-content/plugins/woocommerce-notification/frontend/notify.php:369
    Stack trace:
    #0 /home/knives/domains/japanese-knives.co.il/public_html/wp-content/plugins/woocommerce-notification/frontend/notify.php(1237): VI_WNOTIFICATION_Frontend_Notify->get_product()
    #1 /home/knives/domains/japanese-knives.co.il/public_html/wp-includes/class-wp-hook.php(286): VI_WNOTIFICATION_Frontend_Notify->init_scripts('')
    #2 /home/knives/domains/japanese-knives.co.il/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #3 /home/knives/domains/japanese-knives.co.il/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #4 /home/knives/domains/japanese-knives.co.il/public_html/wp-includes/script-loader.php(2537): do_action('wp_enqueue_scri...')
    #5 /home/knives/domains/japanese-knives.co.il/public_html/wp-includes/class-wp-hook.php(286): wp_enqueue_scripts('')
    #6 /home/knive in /home/knives/domains/japanese-knives.co.il/public_html/wp-content/plugins/woocommerce-notification/frontend/notify.php on line 369

    This error is repeated many times in the log.
    When I turn your plugin off, this product is working again (https://www.japanese-knives.co.il/product/hikari-whetstones/).

    Upon further thought I decided to limit the “Order Time”, because I figured that since you did not issue an update for a long time, this must be what has changed, there must be an order that plugin is conflicted with.

    When I changed the Order Time to 1 day, everything is back to working order.
    But 2 or 3 Order Time will result in that product being broken.

    This is very strange:
    Why is only a certain product not working? (could be more than one, maybe I didn’t encounter other broken products).
    Why is the Order Time a factor?

    We require a solution ASAP.

You must be logged in to see replies to this topic. Click here to login or register