• Resolved Rubas

    (@rubas)


    Hello,

    On a newly WordPress site, with WP_DEBUG = true, results in following php notices:

    [Mon Oct 23 16:41:44.292167 2017] [php7:notice] [pid 30665] [client 77.215.174.54:35910] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 177, referer: https://<<SITEURL>>/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Mon Oct 23 16:41:44.292198 2017] [php7:notice] [pid 30665] [client 77.215.174.54:35910] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 178, referer: https://<<SITEURL>>/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Mon Oct 23 16:41:44.292211 2017] [php7:notice] [pid 30665] [client 77.215.174.54:35910] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 185, referer: https://<<SITEURL>>/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Mon Oct 23 16:41:44.292243 2017] [php7:notice] [pid 30665] [client 77.215.174.54:35910] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp.php on line 303, referer: https://<<SITEURL>>/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Mon Oct 23 16:44:22.371117 2017] [php7:notice] [pid 30663] [client 77.215.174.54:44474] PHP Notice:  Undefined index: from_email_field in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 133, referer: https://<<SITEURL>>/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Mon Oct 23 16:44:22.371167 2017] [php7:notice] [pid 30663] [client 77.215.174.54:44474] PHP Notice:  Undefined index: from_name_field in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 140, referer: https://<<SITEURL>>/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Mon Oct 23 16:44:22.371186 2017] [php7:notice] [pid 30663] [client 77.215.174.54:44474] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 154, referer: https://<<SITEURL>>/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Mon Oct 23 16:44:22.371199 2017] [php7:notice] [pid 30663] [client 77.215.174.54:44474] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 161, referer: https://<<SITEURL>>/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Mon Oct 23 16:44:22.371210 2017] [php7:notice] [pid 30663] [client 77.215.174.54:44474] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 162, referer: https://<<SITEURL>>/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Mon Oct 23 16:44:22.371220 2017] [php7:notice] [pid 30663] [client 77.215.174.54:44474] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 163, referer: https://<<SITEURL>>/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Mon Oct 23 16:44:22.371232 2017] [php7:notice] [pid 30663] [client 77.215.174.54:44474] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 170, referer: https://<<SITEURL>>/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Mon Oct 23 16:44:22.371250 2017] [php7:notice] [pid 30663] [client 77.215.174.54:44474] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 177, referer: https://<<SITEURL>>/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Mon Oct 23 16:44:22.371262 2017] [php7:notice] [pid 30663] [client 77.215.174.54:44474] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 178, referer: https://<<SITEURL>>/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Mon Oct 23 16:44:22.371285 2017] [php7:notice] [pid 30663] [client 77.215.174.54:44474] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 185, referer: https://<<SITEURL>>/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Mon Oct 23 16:44:22.371327 2017] [php7:notice] [pid 30663] [client 77.215.174.54:44474] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp.php on line 303, referer: https://<<SITEURL>>/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Mon Oct 23 16:44:27.832150 2017] [php7:notice] [pid 30669] [client 77.215.174.54:44762] PHP Notice:  Undefined index: from_email_field in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 133, referer: https://<<SITEURL>>/wp-admin/options-general.php?page=swpsmtp_settings
    [Mon Oct 23 16:44:27.832206 2017] [php7:notice] [pid 30669] [client 77.215.174.54:44762] PHP Notice:  Undefined index: from_name_field in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 140, referer: https://<<SITEURL>>/wp-admin/options-general.php?page=swpsmtp_settings
    [Mon Oct 23 16:44:27.832222 2017] [php7:notice] [pid 30669] [client 77.215.174.54:44762] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 154, referer: https://<<SITEURL>>/wp-admin/options-general.php?page=swpsmtp_settings
    [Mon Oct 23 16:44:27.832233 2017] [php7:notice] [pid 30669] [client 77.215.174.54:44762] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 161, referer: https://<<SITEURL>>/wp-admin/options-general.php?page=swpsmtp_settings
    [Mon Oct 23 16:44:27.832242 2017] [php7:notice] [pid 30669] [client 77.215.174.54:44762] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 162, referer: https://<<SITEURL>>/wp-admin/options-general.php?page=swpsmtp_settings
    [Mon Oct 23 16:44:27.832250 2017] [php7:notice] [pid 30669] [client 77.215.174.54:44762] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 163, referer: https://<<SITEURL>>/wp-admin/options-general.php?page=swpsmtp_settings
    [Mon Oct 23 16:44:27.832261 2017] [php7:notice] [pid 30669] [client 77.215.174.54:44762] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 170, referer: https://<<SITEURL>>/wp-admin/options-general.php?page=swpsmtp_settings
    [Mon Oct 23 16:44:27.832274 2017] [php7:notice] [pid 30669] [client 77.215.174.54:44762] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 177, referer: https://<<SITEURL>>/wp-admin/options-general.php?page=swpsmtp_settings
    [Mon Oct 23 16:44:27.832284 2017] [php7:notice] [pid 30669] [client 77.215.174.54:44762] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 178, referer: https://<<SITEURL>>/wp-admin/options-general.php?page=swpsmtp_settings
    [Mon Oct 23 16:44:27.832331 2017] [php7:notice] [pid 30669] [client 77.215.174.54:44762] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp-admin-menu.php on line 185, referer: https://<<SITEURL>>/wp-admin/options-general.php?page=swpsmtp_settings
    [Mon Oct 23 16:44:27.832375 2017] [php7:notice] [pid 30669] [client 77.215.174.54:44762] PHP Notice:  Undefined index: smtp_settings in /home/bygogbolig/web/bygogbolig.dk/public_html/wp-content/plugins/easy-wp-smtp/easy-wp-smtp.php on line 303, referer: https://<<SITEURL>>/wp-admin/options-general.php?page=swpsmtp_settings
    

    Following screenshot shows the settings page:
    https://snag.gy/s6hbWX.jpg

    A quick fix would be, to check up if the variable is set or not, if it isen’t, put a placeholder text.

    I was looking for a Github repo, so I could fix it myself, and do a pull request – but without success.

    Thank you for an awesome plugin!
    Keep up the good work ??

    Best regards,
    Ruba

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Ruba and thank you for your report.

    I’ve added this to bug tracker, should be fixed in next version.

    Just to keep you posted, this has been fixed and tested in the next version (which is coming shortly). Thanks again for your report!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘define(‘WP_DEBUG’, true)’ is closed to new replies.