Fix for WordPress no longer sending email notification of comments

For some unknown reason I suddenly stopped getting an email notification to alert me when a comment had been left on one of my blog entries regardless of the settings selected in the WP admin pages.

I tried several different options and plugins to try and fix this I even tried resorting to using a plugin to allow SMTP to send the notifications but none of them worked.

I then read this thread over on the WordPress support forums and on page 4, thanks to teknics there is a fix that worked instantly for me. Just a simple addition to my .htaccess file was all that was needed, if you alread have a .htaccess in place please be careful not to mess up anything else in the file as it could prevent your site from working.
Just adding the following line to the end of the .htaccess file was all that was needed:

1
<strong><span style="color: #ff0000;">php_value mail.force_extra_parameters '-f webmaster@example.com'</span></strong>

Continue reading “Fix for WordPress no longer sending email notification of comments”

WordPress 2.6 error in shortcodes.php [Warning: Compilation failed]


After updating to WordPress 2.6 from 2.5 I noticed an error appeared at the top of some of my posts:

Warning: Compilation failed: characters with values > 255 are not yet supported in classes at offset 16 in /vhost/vhost6/s/c/o/scoopz.com/blog/wp-includes/shortcodes.php on line 213

This only appeared on 1 or 2 posts the rest remained unaffected. I realised that most of the posts affected were those which had galleries inserted using WordPress Media Manager and the

1
[ gallery ]

tag. Continue reading “WordPress 2.6 error in shortcodes.php [Warning: Compilation failed]”