WPSP - Terms of Use
Notice: Undefined index: page (1 post)

  1. Ghostwriter(another-webmaster)
    Posted 3 years ago #

    Notice: Undefined index: page in wpsp-terms-of-use.php on line 142

    /* Display Attention Message to user until they do the settings for the plugin */
    function tou_admin_notice(){
    $page_name = $_GET['page'];
    	if(get_option('wpsp_tou_msg') == '0') {
    		if($page_name == 'wpsp-terms-of-use') {
    		} else {
        echo '<div class="updated">
           <p><strong>Attention:</strong> Please visit the WPSP Terms of Use <a href="'.get_admin_url().'options-general.php?page=wpsp-terms-of-use">Settings</a> page to setup the plugin.</p>

    Following line (in code as mentioned above) seems to be the reason for it (is line 142):
    $page_name = $_GET['page'];

    Maybe someone knows how to solve this, it is a very nice plugin but seems not to be updated to latest WP version.

    Thanks in advance for time and effort.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WPSP - Terms of Use
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Ghostwriter(another-webmaster)
  • This topic is not resolved
  • WordPress version: 3.5