WordPress.org

Ready to get started?Download WordPress

Forums

Mail Subscribe List
Notice: Use of undefined constant PLUGIN_NAME (3 posts)

  1. seboo.krupa
    Member
    Posted 1 year ago #

    Hi,

    there is an issue with PLUGIN_NAME constant definition. Please check out attached stacktrace.

    btw. 'PLUGIN_NAME' doesn't seem like a safe name for plugin-specific constant. Please add some prefix there to avoid conflicts.

    Notice: Use of undefined constant PLUGIN_NAME - assumed 'PLUGIN_NAME' in /home/project-name/project/project-name-blog/wp-content/plugins/mail-subscribe-list/sml.php on line 27 Call Stack: 0.0006 330856 1. {main}() /home/project-name/project/project-name-blog/index.php:0 0.0012 334260 2. require('/home/project-name/project/project-name-blog/wp-blog-header.php') /home/project-name/project/project-name-blog/index.php:17 0.0018 352192 3. require_once('/home/project-name/project/project-name-blog/wp-load.php') /home/project-name/project/project-name-blog/wp-blog-header.php:12 0.0024 364928 4. require_once('/home/project-name/project/project-name-blog/wp-config.php') /home/project-name/project/project-name-blog/wp-load.php:29 0.0031 454412 5. require_once('/home/project-name/project/project-name-blog/wp-settings.php') /home/project-name/project/project-name-blog/wp-config.php:90 0.1849 17937436 6. include_once('/home/project-name/project/project-name-blog/wp-content/plugins/mail-subscribe-list/sml.php') /home/project-name/project/project-name-blog/wp-settings.php:195 Notice: Use of undefined constant PLUGIN_VER - assumed 'PLUGIN_VER' in /home/project-name/project/project-name-blog/wp-content/plugins/mail-subscribe-list/sml.php on line 28 Call Stack: 0.0006 330856 1. {main}() /home/project-name/project/project-name-blog/index.php:0 0.0012 334260 2. require('/home/project-name/project/project-name-blog/wp-blog-header.php') /home/project-name/project/project-name-blog/index.php:17 0.0018 352192 3. require_once('/home/project-name/project/project-name-blog/wp-load.php') /home/project-name/project/project-name-blog/wp-blog-header.php:12 0.0024 364928 4. require_once('/home/project-name/project/project-name-blog/wp-config.php') /home/project-name/project/project-name-blog/wp-load.php:29 0.0031 454412 5. require_once('/home/project-name/project/project-name-blog/wp-settings.php') /home/project-name/project/project-name-blog/wp-config.php:90 0.1849 17937436 6. include_once('/home/project-name/project/project-name-blog/wp-content/plugins/mail-subscribe-list/sml.php') /home/project-name/project/project-name-blog/wp-settings.php:195 Notice: Undefined index: sml_subscribe in /home/project-name/project/project-name-blog/wp-content/plugins/mail-subscribe-list/sml.php on line 262 Call Stack: 0.0006 330856 1. {main}() /home/project-name/project/project-name-blog/index.php:0 0.0012 334260 2. require('/home/project-name/project/project-name-blog/wp-blog-header.php') /home/project-name/project/project-name-blog/index.php:17 0.0018 352192 3. require_once('/home/project-name/project/project-name-blog/wp-load.php') /home/project-name/project/project-name-blog/wp-blog-header.php:12 0.0024 364928 4. require_once('/home/project-name/project/project-name-blog/wp-config.php') /home/project-name/project/project-name-blog/wp-load.php:29 0.0031 454412 5. require_once('/home/project-name/project/project-name-blog/wp-settings.php') /home/project-name/project/project-name-blog/wp-config.php:90 0.1849 17937436 6. include_once('/home/project-name/project/project-name-blog/wp-content/plugins/mail-subscribe-list/sml.php') /home/project-name/project/project-name-blog/wp-settings.php:195

    Regards,
    Sebastian

    http://wordpress.org/extend/plugins/mail-subscribe-list/

  2. Richard Leishman
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you Sebastian, I will fix this in the next update.

    Richard

  3. Richard Leishman
    Member
    Plugin Author

    Posted 1 year ago #

    2.0.2 has now been released, please update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic