Support » Plugin: Add to home screen WP Plugin » Use of undefined constant drop

  • bkjproductions

    (@bkjproductions)


    A few errors show up if you are in debug mode:<br>
    Notice: Use of undefined constant drop – assumed ‘drop’ in /wp-content/plugins/add-to-home-screen-wp/options.php on line 126<br>

    Notice: Use of undefined constant homeonly – assumed ‘homeonly’ in /wp-content/plugins/add-to-home-screen-wp/options.php on line 230

    Notice: Use of undefined constant allpages – assumed ‘allpages’ in wp-content/plugins/add-to-home-screen-wp/options.php on line 231

    Basically you need to find those lines and put quotes around the strings:
    For example:
    Was:echo selected(get_option('pagetarget'),homeonly);
    Should be:
    echo selected(get_option('pagetarget'),'homeonly');

    Even so, I cannot get this to work; difficult to test because the phone wants to cache everything!

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

  • The topic ‘Use of undefined constant drop’ is closed to new replies.