Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3491644
WPC Smart Notifications for WooCommerce
Closed

Comments

  • Diamonddm started the conversation

    Hi,

    in Plugin Test

    https://plugintests.com/plugins/wporg/wpc-smart-notification/latest, i found quite a few Fatal Uncaught Error. 


    Do you think you can handle it ? Thanks!

    [27-Sep-2023 09:07:17 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WPCSNis_product() in /wp-content/plugins/wpc-smart-notification/core/initialization.php:53
    Stack trace:
    #0 /wp-includes/class-wp-hook.php(310): WPCSNinitialization->enqueue_script()
    #1 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #2 /wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 /wp-includes/script-loader.php(2225): do_action()
    #4 /wp-includes/class-wp-hook.php(310): wp_enqueue_scripts()
    #5 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #6 /wp-includes/plugin.php(517): WP_Hook->do_action()
    #7 /wp-includes/general-template.php(3053): do_action()
    #8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
    #9 /wp-includes/template.php(785): require_once('...')
    #10 /wp-includes/template.php(720): load_template()
    #11 /wp-includes/general-template.php(48): locate_template()
    #12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
    #13 /wp-includes/template-loader.php(106): include('...')
    #14 /wp-blog-header.php(19): require_once('...')
    #15 /index.php(17): require('...')
    #16 {main}  thrown in /wp-content/plugins/wpc-smart-notification/core/initialization.php on line 53
    [27-Sep-2023 09:07:25 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WPCSNis_product() in /wp-content/plugins/wpc-smart-notification/core/initialization.php:53
    Stack trace:
    #0 /wp-includes/class-wp-hook.php(310): WPCSNinitialization->enqueue_script()
    #1 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #2 /wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 /wp-includes/script-loader.php(2225): do_action()
    #4 /wp-includes/class-wp-hook.php(310): wp_enqueue_scripts()
    #5 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #6 /wp-includes/plugin.php(517): WP_Hook->do_action()
    #7 /wp-includes/general-template.php(3053): do_action()
    #8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
    #9 /wp-includes/template.php(785): require_once('...')
    #10 /wp-includes/template.php(720): load_template()
    #11 /wp-includes/general-template.php(48): locate_template()
    #12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
    #13 /wp-includes/template-loader.php(106): include('...')
    #14 /wp-blog-header.php(19): require_once('...')
    #15 /index.php(17): require('...')
    #16 {main}  thrown in /wp-content/plugins/wpc-smart-notification/core/initialization.php on line 53


  •  767
    Janilyn replied

    Hi Diamonddm,

    Thank you for reaching out to us. 

    We have received your report. I have written a note to our developers for considering this soon. We will need some time to consider this and discuss the possibilities. 

    Best regards.

    Janilyn T. - WPClever Support Agent

  •  1,222
    Dustin replied

    Hi Diamonddm,

    Thanks for your interest in our plugin!

    This site https://plugintests.com/ checks the stand-alone code only. So, you'll see the error like that.

    On a real site, our plugin requires activating WooCommerce first, and it works without the error.

    Best regards,
    Dustin