After upgrading my dev instance to php 7.1 (specifically 7.1.11-1+ubuntu14.04.1+deb.sury.org+1; it was previously running 7.0); I receive the following error in my query monitor plugin:
Parameter 2 to wp_hide_post_Public::query_posts_join() expected to be a reference, value given
This happens at wp-includes/class-wp-hook.php:298 and a call stack:
` wp()
wp-blog-header.php:16
WP->main()
wp-includes/functions.php:955
WP->query_posts()
wp-includes/class-wp.php:735
WP_Query->query()
wp-includes/class-wp.php:617
WP_Query->get_posts()
wp-includes/class-wp-query.php:3248
apply_filters_ref_array('posts_join_paged')
wp-includes/class-wp-query.php:2554`