• Resolved jerry1957

    (@jerry1957)


    This is a rather small issue since a production site wouldn’t have this turned on.
    But when WP debugging is turned on with:
    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_DISPLAY’, true);
    define(‘WP_DEBUG_LOG’, true);
    in the wp_config.php and the “Show link to DailyVerses.net” is unchecked, I get the following message displayed.
    Notice: Undefined index: showlink in E:\Bitnami\htdocs\wp-content\plugins\bible-verse-of-the-day\bible-verse-of-the-day.php on line 465
    I’m guessing you just need to add a is_set test.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author dailyverses

    (@dailyverses)

    Thanks for reporting, I will look into it.

    Plugin Author dailyverses

    (@dailyverses)

    Jerry, I have updated the plugin (I didn’t create a new version for it, so if you want the fix you have to reinstall the plugin).

    I couldn’t reproduce the error, but adding the isset test makes total sense to me, I assume it fixes the issue.

    Thank you for your clear explanation.

    • This reply was modified 6 years, 6 months ago by dailyverses.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php warning’ is closed to new replies.