• Resolved sigdd

    (@sigdd)


    Since updated this plugin a few days ago, I’m having the same problem as Darko in the other thread, here is what I see on my wp-admin page when I try to log in:

    Notice: Undefined index: position in /home3/sigdd310/public_html/dev/gillcrest/wp-content/plugins/wp-paginate/wp-paginate.php on line 182

    Notice: Undefined index: position in /home3/sigdd310/public_html/dev/gillcrest/wp-content/plugins/wp-paginate/wp-paginate.php on line 182

    Notice: Undefined index: position in /home3/sigdd310/public_html/dev/gillcrest/wp-content/plugins/wp-paginate/wp-paginate.php on line 185

    Notice: Undefined index: position in /home3/sigdd310/public_html/dev/gillcrest/wp-content/plugins/wp-paginate/wp-paginate.php on line 185

    Notice: Undefined index: everywhere in /home3/sigdd310/public_html/dev/gillcrest/wp-content/plugins/wp-paginate/wp-paginate.php on line 188

    Notice: Undefined index: everywhere in /home3/sigdd310/public_html/dev/gillcrest/wp-content/plugins/wp-paginate/wp-paginate.php on line 191

    Warning: Cannot modify header information – headers already sent by (output started at /home3/sigdd310/public_html/dev/gillcrest/wp-content/plugins/wp-paginate/wp-paginate.php:182) in /home3/sigdd310/public_html/dev/gillcrest/wp-includes/pluggable.php on line 1179

    When I go to my wp-login page, the last paragraph above about modifying the header info changes to:

    Warning: Cannot modify header information – headers already sent by (output started at /home3/sigdd310/public_html/dev/gillcrest/wp-content/plugins/wp-paginate/wp-paginate.php:182) in /home3/sigdd310/public_html/dev/gillcrest/wp-login.php on line 394

    Warning: Cannot modify header information – headers already sent by (output started at /home3/sigdd310/public_html/dev/gillcrest/wp-content/plugins/wp-paginate/wp-paginate.php:182) in /home3/sigdd310/public_html/dev/gillcrest/wp-login.php on line 407

    So I can’t even log into my site to try the fix of saving the settings, as suggested in the other thread. How can I get into my site to do that? Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AlanP57

    (@alanp57)

    sigdd,

    First, check to see if you have WordPress debugging turned on in your wp-config.php file. If it is on, then turn it off.

    
    define('WP_DEBUG', true);  // debugging is turned on
    define('WP_DEBUG', false); // debugging is turned off
    

    If turning debugging off does not help then you can disable the plugin by accessing your site via its control panel/file manager or by FTP and change the name of the ‘wp-paginate’ folder ( such as ‘wp-paginateX’) in the wp-contents/plugins directory. Try to login into the site. When WordPress cannot find the wp-paginate plugin, it will disable it. Then you can log in, change the plugin name back to its normal name, go to the plugins page. reactivated it and then save the wp-paginate settings.

    Thread Starter sigdd

    (@sigdd)

    Hi Alan –

    Okay – all fixed, thanks so much for the prompt response. I’ll add one thing that I had to do though — just for the benefit of anyone else who might be reading this in future. After I changed the folder name back to ‘wp-paginate’ and went to the plugins page — it wasn’t deactivated. I opened the settings and saved changes, but that didn’t fix it. So I went back and deactivated the plugin myself, then reactivated it, then to Settings and saved. That worked great. Thanks again!!

    Plugin Author AlanP57

    (@alanp57)

    Version 2.0.1 has been released which should deal with all the unknown index notices.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined Index Error & Cannot modify header’ is closed to new replies.