WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. garymgordon
    Member
    Posted 6 months 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
    Description

    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.

    Solutions

    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.
    Gary

    http://wordpress.org/plugins/wp-comment-notifier-for-all/

  2. creativedreams
    Member
    Posted 3 months 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){

    Cheers

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.