Support » Plugin: WP Super Cache » Not correctly updated posts on Debug mode

  • Resolved jansudek

    (@jansudek)


    Some warnings show me after I wanna update posts… I have WP debug mode on 😉
    Post is saved, but redirection not working… annoying ;/ so fix it 🙂

    WP Super Cache v1.4.9

    
    Notice: Undefined variable: supercache_home in /home/www/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1143
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/www/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:1143) in /home/www/wp-admin/post.php on line 197
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/www/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:1143) in /home/www/wp-includes/pluggable.php on line 1179

    and I have little question, is possible to show admin status bar at frontend for logged users ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Donncha Ó Caoimh

    (@donncha)

    You should disable display errors in your PHP configuration. That will stop the warning showing and the redirect will work. The undefined variable is harmless and already fixed in the development version.

    Hello, I have the same problem that annoys me almost 5 days and I can not figure it out. Can you please write exact instructions? “Disable display errors in your PHP configuration.” … I do not know where to turn off “display error” thank you for the quick advice.

    i have exactly the same problem, please help
    thanks!

    disable errors … in /wp-config.php

    define( 'WP_DEBUG', false );
    ini_set('display_errors', '0');

    Thanks, Jansudek now my p[roblume is solved thanks.

    Is there a better solution available here?

    I would like errors to be displayed, don’t want to have to switch them on and off every time I have to save an object.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not correctly updated posts on Debug mode’ is closed to new replies.