Title: Error on PHP 7
Last modified: September 1, 2016

---

# Error on PHP 7

 *  [Yudhistira Mauris](https://wordpress.org/support/users/maurisrx/)
 * (@maurisrx)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-on-php-7/)
 * Hello,
 * I encountered an error with WP SPAM Fighter on PHP 7. It ouputs an error:
 * `Warning: session_start() expects parameter 1 to be array, string given in /home3/
   maurisrx/public_html/wp-includes/plugin.php on line 524`
 * After looking at the code, it might be caused by `session_start()` that is attached
   to a hook in classes/wp-spam-fighter.php.
 * Mauris
 * [https://wordpress.org/plugins/wp-spam-fighter/](https://wordpress.org/plugins/wp-spam-fighter/)

The topic ‘Error on PHP 7’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-spam-fighter.svg)
 * [WP Spam Fighter](https://wordpress.org/plugins/wp-spam-fighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-spam-fighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-spam-fighter/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-spam-fighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-spam-fighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-spam-fighter/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Yudhistira Mauris](https://wordpress.org/support/users/maurisrx/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/error-on-php-7/)
 * Status: not resolved