WP Comment Notifier For All
Need help. I just tried installing this plugin and I'm getting a FATAL error. (2 posts)

  1. garymgordon
    Posted 2 years ago #

    Need help. I just tried installing this plugin and I'm getting a FATAL error.

    Here's the error message:

    Fatal Error (hide details) (remove)
    The site encountered a problem that it cannot recover from. Please use the following information to try to resolve the problem.

    Error Message

    Fatal Error: Call-time pass-by-reference has been removed in /home/mywebsite/public_html/wp-content/plugins/wp-comment-notifier-for-all/wp-comment-notifier-for-all.php on line 90

    The WP Comment Notifier For All plugin code created an error that caused PHP execution to fail.

    This error is due to your server running PHP version 5.4.19. Starting in 5.4.0, PHP no longer permits passing function arguments by reference. The plugin code is violating this rule and is causing the code to fail.


    If you are able, switching your PHP version to 5.2.4+ or 5.3.0+ will allow your site to function properly again.
    Contact the plugin author and notify them of the issue. It could be possible to have the problem solved quickly.
    Invalid code modifications can cause this problem. If you have made any modifications to the plugin, remove them and try to load the site again.
    It is possible that this plugin's code is out of date and that an upgrade is available. Check with the plugin's author to see if an upgrade is available.
    There may be a conflict with another plugin running on the site. Try upgrading the other plugins on the site. A plugin conflict can be ruled out by deactivating all the other active plugins on the site and checking to see if the error still occurs.
    The WP Comment Notifier For All plugin may not have been fully uploaded. Uploading the plugin again could fix the issue. Important: If you do this, you will lose any modifications made to the plugin.
    Error Source Details

    Type Plugin
    Name WP Comment Notifier For All
    Version 2.4
    Author Fay├žal Tirich
    Path /home/mywebsite/public_html/wp-content/plugins/wp-comment-notifier-for-all
    File wp-comment-notifier-for-all.php
    Other Software Details

    WordPress Version 3.8
    PHP Version 5.4.19
    Full Error Details

    Type Zend Compile-Time Error (E_COMPILE_ERROR)
    Message Call-time pass-by-reference has been removed
    File /home/mywebsite/public_html/wp-content/plugins/wp-comment-notifier-for-all/wp-comment-notifier-for-all.php
    Line 90
    Type Description This type of error indicates that the PHP code is violating a restriction enforced by PHP. An example of such a violation is trying to use a reserved word for a class or function name.

    Do you think this is something you can fix?

    Please let me know.


  2. creativedreams
    Posted 2 years ago #

    Hi, the solution is for you to:

    1. edit the file /wp-content/plugins/wp-comment-notifier-for-all/wp-comment-notifier-for-all.php
    2. search for cnfa_notification_email(&$comment, &$notified_comments);
    3. replace for cnfa_notification_email($comment, $notified_comments);
    4. search for cnfa_notification_email(&$comment, &$options);
    5. replace for cnfa_notification_email($comment, $options);
    6. search for function cnfa_notification_email(&$comment, &$notified_comments){
    7. replace for function cnfa_notification_email($comment, $notified_comments){


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Comment Notifier For All
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.