• Resolved hermannf

    (@hermannf)


    Hi
    If the admin post a comment I get this error:
    Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /home/www/administrator/wp-content/plugins/send-email-only-on-reply-to-my-comment/send-email-only-on-reply-to-my-comment.php on line 351

    Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /home/www/administrator/wp-content/plugins/send-email-only-on-reply-to-my-comment/send-email-only-on-reply-to-my-comment.php on line 355

    Warning: Cannot modify header information – headers already sent by (output started at /home/www/administrator/wp-content/plugins/send-email-only-on-reply-to-my-comment/send-email-only-on-reply-to-my-comment.php:351) in /home/www/administrator/wp-includes/pluggable.php on line 876

    http://wordpress.org/plugins/send-email-only-on-reply-to-my-comment/

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

    (@yasirwazir)

    Hello,

    In WordPress config.php file, have you turned on debugging mode?

    Are you using the following commands in config.php?

    // Turns WordPress debugging on
    define(‘WP_DEBUG’, true);

    // Tells WordPress to log everything to the /wp-content/debug.log file
    define(‘WP_DEBUG_LOG’, true);

    // Doesn’t force the PHP ‘display_errors’ variable to be on
    define(‘WP_DEBUG_DISPLAY’, false);

    // Hides errors from being displayed on-screen
    @ini_set(‘display_errors’, 1);

    If you post a comment as a normal visitor, do you still see any warnings?

    Plugin Author yasirwazir

    (@yasirwazir)

    Hello,

    I have fixed the bug. Plugin is now updated and you will not see any more Warnings.

    Thread Starter hermannf

    (@hermannf)

    Hi!
    Now it is working perfect!
    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘admin error’ is closed to new replies.