Title: PHP 7 Error/Warning
Last modified: February 24, 2017

---

# PHP 7 Error/Warning

 *  [andrewfitz](https://wordpress.org/support/users/andrewfitz/)
 * (@andrewfitz)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-7-errorwarning/)
 * Using PHP 7.1, I get the error:
 * `Warning: Parameter 2 to Groups_Post_Access::posts_where() expected to be a reference,
   value given in /wp-includes/class-wp-hook.php on line 298`
 * I also get this same, additional error with the Groups bbpress addon too: Groups_bbPress::
   the_posts(

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

 *  [Abigailm](https://wordpress.org/support/users/abigailm/)
 * (@abigailm)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-7-errorwarning/#post-8842597)
 * Note that this is the same issue reported in this thread: [https://wordpress.org/support/topic/php-warning-with-7-1-groups_post_accessposts_where/](https://wordpress.org/support/topic/php-warning-with-7-1-groups_post_accessposts_where/)
 *  Thread Starter [andrewfitz](https://wordpress.org/support/users/andrewfitz/)
 * (@andrewfitz)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-7-errorwarning/#post-8842732)
 * Sorry, thank you. Any fix planned or does this need to be changed by hand?

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

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

 * ![](https://ps.w.org/groups/assets/icon-256x256.png?rev=983146)
 * [Groups](https://wordpress.org/plugins/groups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/groups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/groups/)
 * [Active Topics](https://wordpress.org/support/plugin/groups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/groups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/groups/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [andrewfitz](https://wordpress.org/support/users/andrewfitz/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/php-7-errorwarning/#post-8842732)
 * Status: not resolved