• Hey,

    in case anyone is still using this great plugin:

    I found the solution for the warning in the wp-class-hook.php, which gives the log warning

    Got error ‘PHP message: PHP Warning: session_start() expects parameter 1 to be array, string given in …/wp-includes/class-wp-hook.php

    My simple Solution is to replace line 233 in wp-spam-fighter.php as follows:

    //add_action(‘init’, ‘session_start’); ERROR?
    session_start();

    Any opinions?

  • The topic ‘Solution for php Error in class-wp-hook’ is closed to new replies.