White screen of death after installing plugin
-
When I installed the plugin on a client’s site, I got a WSOD and could not access anything until I deleted the plugin via FTP.
After some research, I found the problem here:
wordpress-popular-posts.php in line 329:
if ( !empty($this->user_settings[‘tools’][‘thumbnail’][‘default’]) && @exif_imagetype($this->user_settings[‘tools’][‘thumbnail’][‘default’]) )After I removed the @ from the call to exif_imagetype(), I could see this:
Fatal error: Call to undefined function exif_imagetype() in /home/gdmott/public_html/wp-content/plugins/wordpress-popular-posts/wordpress-popular-posts.php on line 329
I’m not sure why this is just happening on the client’s site and not on my local test environment. It seems, by hiding the error message with the @, it took me about an hour to get to the source of the problem.
I think this should be fixed. Meanwhile, I can just remove the problematic lines from the code, but I would appreciate if there would be a fix soon, so that the plugin can be updated without causing any problems in the future.
- The topic ‘White screen of death after installing plugin’ is closed to new replies.