Same error here with WordPress 5.2.1
Warning: Parameter 2 to wp_hide_post_Public::query_posts_join() expected to be a reference, value given in /customers/***/wp-includes/class-wp-hook.php on line 286
-
This reply was modified 6 years, 7 months ago by
marianoju.
I have the same issue:
Warning: Parameter 2 to wp_hide_post_Public::query_posts_join() expected to be a reference, value given in /home/***/wp-includes/class-wp-hook.php on line 286
The code needs to be fixed!
This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
I doubt that this code is going to be fixed soon. A shame.
If anyone finds a replacement plugin that does the same thing as this I would love to know about it, thanks!
Also does anyone know of a way to check your posts/pages in bulk to see which ones you use this plugin on? I have a large site and have been using this plugin for years, so I have no idea what will be affected by deactivating this, sigh.
I would also be interested to find one
@esch if your looking for a friendly scroll-able neat list i tend to use:
https://YOURURLHERE.com/wp-admin/edit.php?s&post_status=all&post_type=post&action=-1&m=0&cat=0&post_format&wphp_hidden_on%5B0%5D=all&paged=1&action2=-1
which shows all hidden posts, you can look in the screen options section to add in the filters or increase the number of pages for doing mass bulk actions
-
This reply was modified 6 years, 4 months ago by
matdemystify.
here’s a fix.
you might be able to edit the file directly using the wp admin. (plugins->editor)
https://www.nafzinger.com/2017/11/03/solved-warning-parameter-2-expected-reference/
basically replace:
public function query_posts_join($join, &$wp_query)
with:
public function query_posts_join($join, $wp_query)
@henrycolchado solved this the way i did, so far no problems highly recomend this method
Thank you! Had this problem on my blog and your suggest fix worked!