WordPress Error Solved – Warning: Parameter 2 to wp_hide_post_Public :: query_posts_join( ) expected to be a reference

WordPress LogoAfter upgrading from PHP version 7.0 to 7.1 on my WordPress website hosted with DreamHost, I received the error message below above the header on my website.

Warning: Parameter 2 to wp_hide_post_Public::query_posts_join() expected to be a reference, value given in /home/xyz_vps/nafzinger.com/wp-includes/class-wp-hook.php on line 298

The solution

If you’re not using the WP Hide Post plugin, make note of the error message, it should give you a hint what plugin is causing the issue, in the case above, my hint was Parameter 2 to wp_hide_post_Public::query_posts_join(). You can also just disable the problematic plugin.

In my case, the error was caused by a bit of code in the WP Hide Post plugin. I fixed it by connecting to my server via SFTP, then navigating to the WP Hide Post plug-in directory, as shown below.

/wp-content/plugins/wp-hide-post/public/class-wp-hide-post-public.php
  1. Open class-wp-hide-post-public.php and do a search for &$.
  2. Remove the all & that appear in front of the $ and save your file.
  3. Refresh your website and the problem should be fixed.
  4. If you’re using a caching plugin you may need to force purge your cache and try again.

Apparently, PHP 7.1 doesn’t like & in front of $query parameters in functions.

Check out Garrett Digital for help with SEO or WordPress problems large or small.

Google Home Mini vs Amazon Echo Dot

Google Home Mini vs Amazon Echo Dot

Whew, it has been awhile. I’m here to give a quick overview of the Google Home Mini compared to the Amazon Echo Dot.

After using the Amazon Echo Dot for the past 1+ years, the Google Home Mini (and other versions of the Google Home) win for a few reasons.

  1. The speaker and sound quality of the Google Home Mini are better than the Amazon Echo Dot. You could almost use it as an everyday speaker as long as you’re not throwing a party and you have relatively quiet surroundings.
  2. You can make phone calls through Google Home and the Google Home Mini using your Google Voice phone number. No phone required. One thing they need to fix is the ability to connect the Google Mini Home and other Google Home devices to Bluetooth headsets. If you don’t have a Google Voice number set in Google Assistant, the phone calls with show up as “No Caller ID” to the person receiving the call. You can dial by name from your Google Contacts, or by phone number.
  3. The Google Home Mini and Google Home devices are more likely to understand complex questions, and you can ask follow-up questions. So the Google Home is more contextually aware.
  4. The Google Home Mini and Google Home devices don’t require you to add skills to achieve things like requesting a rideshare, playing simple games, etc.
  5. The setup process for the Google Home devices is much more pleasant. It doesn’t require you to disconnect from your wifi and connect to the device.

Seattle, AIDS/LifeCycle, and UX Immersion 2013

UX Immersion Conference: April 21-24, 2013 in Seattle

On Friday, April 19, I depart for one of my favorite cities, Seattle, Washington, to attend the UX Immersion Conference. UX Immersion is put on by Jared Spool, and the fine folks at UIE.

AIDS/LifeCycle and Seattle-based Team of One

I added a weekend to the trip, so I can ride and socialize with Seattle-based AIDS/LifeCycle participants. Many Seattle AIDS/LifeCycle riders are members of Team of One. Lately I’ve felt disconnected not knowing many other AIDS/LifeCycle participants. I’m hopeful that meeting other participants prior to the ride will help make the experience more comfortable.

On my trip to Los Angeles in February, I was able to meet our team, The Pork Pedalers, captain-extraordinaire, Brendan Hooley and some members of Team Cynergy, but others from my team were unable to make it out.

Kindle Fire Review

Here’s my review of the Kindle Fire. Keep in mind, I’ve been an iOS user from the start and my experience using Android is limited. If you haven’t used a tablet and don’t own an iOS device, the Kindle Fire might be for you. It’s a great value at $199 and is perfect for consuming media; including TV and movies, via NetFlix and Hulu; books and music, via the Amazon store. If you’re used an iPad or iOS device, you may not be happy with some of the minor rough edges of the Kindle Fire.

Kindle Fire unboxing
Kindle Fire unboxing
Kindle Fire configuration screen
Kindle Fire configuration screen

Pros of the Kindle Fire

  • Amazon UI eliminates some complexities of Android operating system.
  • The price – $199.
  • Good quality hardware.
  • All books, music, and apps purchased from Amazon are instantly available.
  • Super simple configuration. When you turn it on, it knows who you are.

Cons of the Kindle Fire

  • 7-inch form factor is cramped. After a few days, I’m still quicker using the iPhone keyboard.
  • The spacebar is tiny and offset to the left, you really notice this in portrait mode.
  • Web browser crashes too often.
  • Lack of hardware home button and volume controls.
  • Limited device configuration, this is likely an advantage for first-time users.
  • Limited app store selection. No Facebook or Twitter app yet, but popular apps such as Pulse News, Netflix, Hulu.
  • Lack of sync options for non-cloud apps/files.
Amazon Kindle Fire lock screen
Kindle Fire lock screen

Tiny space bar on Kindle Fire
Tiny Spacebar on the Kindle Fire

Clean up your Gmail or Google Apps Mail inbox

Looking for a few quick ways to free up space in your Gmail or Google Apps e-mail account?

Find and delete e-mail from non-human senders

Search for the pattern below:

from:((airlines OR announcements OR auto OR calendar OR confirm OR contact OR convio OR custhelp OR daemon OR deliver OR discuss OR discussion OR ebay OR email OR house OR info OR list OR myspace OR netflix OR newsletters OR mailer OR noreply OR no-reply OR notification OR notify OR order OR paypal OR postmaster OR private OR rsys1 OR list OR senate OR webmaster))

Find and delete attachments, multimedia files

For all attachments, search has:attachments

For multimedia, search filename:(wmv|ogg|mov|m4a|mp3|mp4|aiff|aa4|ppt|pps|pot)