Fix: Warning: Parameter 2 to wp_hide_post_Public::query_posts_join() expected to be a reference, value given in /srv/users/x/apps/x/public/wp-includes/class-wp-hook.php on line 286

I have had an error on some of my WordPress sites for a long time that looks like this: “Warning: Parameter 2 to wp_hide_post_Public::query_posts_join() expected to be a reference, value given in /srv/users/x/apps/x/public/wp-includes/class-wp-hook.php on line 286″ It too me a while to figure it out but the error was caused by WP Hide Post plugin and PHP 7.1+ I was able to fix the error but I also decided not to use the plugin any longer so I just removed it from the sites that I had installed it on.   If you are interested in fixing this error yourself check it out here: https://www.nafzinger.com/2017/11/03/solved-warning-parameter-2-expected-reference/   PS. This doesn’t count toward September Challenge 😉

Spencer Heckathorn

I've been writing online on and off for nearly 20 years now. But I have been building online businesses and trying to figure out different ways to make money online consistently for 15 years. Recently you can find me writing on https://foodieresults.com and posting odd musings to Twitter @mrhobbeys. I also have a mailing list I'm passionate about growing because email and a personal website are better ways for people to do social media.

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Posts