Popularity Contest Plugin From Alex King Triggers Fatal Error

P

My blog uses a couple of plug-ins and one of them is Popularity Contest by Alex King. This allows me to display which are my more popular posts (it’s in the sidebar to the right). However, I recently upgraded my WordPress installation, and when I tried to re-activate the Popularity Contest plugin, I was faced with an error message that shows: “Plugin could not be activated because it triggered a fatal error.”

Turns out that there’s a problem (even with the updated version of the plugin). You’ll need to go to your plugins folder, and look for the Popularity Contest plugin folder. Once inside you should see 3 files. Open popularity-contest.php and scroll down to line 59. Replace require(‘../../wp-blog-header.php’); with require(‘../wp-blog-header.php’); and reactivate your plugin. All should work fine 🙂

Similar Posts:

About the author

Alvin Poh

I've over 17 years of entrepreneurship experience, having built a tech company to be the top in the country, which was subsequently acquired for an 8-figure sum. As CEO, I led the company through robust growth to 150 employees across 4 countries. After the acquisition, I embraced minimalism, sold off my personal possessions, and started living around the world.

Read more about my story here.

2 comments

By Alvin Poh

About Author

I've over 17 years of entrepreneurship experience, having built a tech company to be the top in the country, which was subsequently acquired for an 8-figure sum. As CEO, I led the company through robust growth to 150 employees across 4 countries. After the acquisition, I embraced minimalism, sold off my personal possessions, and started living around the world.

Read more about my story here.