Hi Andrew,
Couldn’t know for sure without seeing the errors. Please post the error messages so I can take a look.
Hi Hector,
There is no error when I run the site with PhP 5.5 but the plg in does not load, just the heading
ta
Do you have WP_DEBUG (see config.php) set to true? Otherwise, WordPress will hide all PHP warning / error messages.
Could you please verify?
I appear to have
FirePHP (Firefox Firebug addon).
Will that suffice..?
No, unfortunately that won’t help.
To avoid displaying warning / errors messages on your site, try this:
1. On config.php, set WP_DEBUG to true. It should look like this: define('WP_DEBUG', true);.
2. Add the following two lines of code right after define('WP_DEBUG', true);:
define('WP_DEBUG_LOG', true); // Saves error messages to wp_content/debug.log
define('WP_DEBUG_DISPLAY', false); // Disables the output of error messages on screen
3. Enable the plugin again, browse a couple of pages and then post here the contents of wp_content/debug.log (or upload the file somewhere so I can download it).
Yeah, I wish I could. I can’t find any mention of that WP_DEBUG in my config file
You mean wp-config.php, correct?
It should be right after:
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*/
If it’s not, which would be odd since it’s been included by default in wp-config.php since WordPress version 2.3.1, you can add it like this:
define('WP_DEBUG', true); // Enables PHP debugging
define('WP_DEBUG_LOG', true); // Saves error messages to wp_content/debug.log
define('WP_DEBUG_DISPLAY', false); // Disables the output of error messages on screen
Place this block of code right before:
/* That’s all, stop editing! Happy blogging. */
Huh, you were right.. I just didn’t get to the end!
The one I had was a simple one liner…I actually tried to install yours as it looked more comprehensive, but it ended up giving the site issues (wouldn’t load) so I just changed the one I had to “true”
Doing this threw up error messages for another plugin (even with PHP 5.2) but nothing came up for yours….
The one I had was a simple one liner…I actually tried to install yours as it looked more comprehensive, but it ended up giving the site issues (wouldn’t load) so I just changed the one I had to “true”
Yes, by default only WP_DEBUG is present on wp-config.php. The other two (WP_DEBUG_LOG and WP_DEBUG_DISPLAY) are additional constants for developers to enable logging without outputting anything on screen.
Doing this threw up error messages for another plugin (even with PHP 5.2) but nothing came up for yours….
I see. That’s odd. Could it be another plugin causing the issue? Have you tried disabling all other plugins but WPP?
What’s your site’s URL, by the way?