Category: WordPress Notes

Small PHP 7.2 Compatibility Bug of W3 Total Cache

When I upgrade my php to php 7.2, I saw a lot of error log in the log file. [error] 1502#1502: *625 FastCGI sent in stderr: “PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /<purged>/wp-content/plugins/w3-total-cache/Cdn_Plugin.php on line 1203” while reading response header from upstream, client: 135.0.172.188,

Yoast SEO has problem with AMP

Recently, I found the AMP page of this blog is not working. After checking the web log  error file, the error looks like below If you Google it with wp-content/plugins/glue-for-yoast-seo-amp/classes/class-frontend.php:162 A lot of search results with the same problem. Based on the Yoast SEO support page, it said it is AMP plugin fault. gooma2 provided

Fix the error: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a reference,

I checked my Nginx log files and saw a lot of errors as below: *11047 FastCGI sent in stderr: “PHP message: PHP Warning: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a reference, value given in /home/users/yinfor.com/wp-includes/functions.php on line 3597” while reading response header from upstream, I googled it and found the answer. The reason why

Remove link of comment in WordPress

By default all links posted in the comments under your articles are turned by WordpPress into links. Unfortunately, this features encourages spammers to post many unwanted comments in your blog. To disable turning URLs from comments into actual links, go to your admin area and then navigate to Appearance -> Editor. Select the functions.php file

Upgrade to WordPress 4.2

It is a major update. Named after Bud Powell. Some new features of this WordPress 4.2 Improved “Press This” Support native Chinese, Japanese and Korean characters, musical an dmathematical symbols and also emoji. Switch themes in the Customizer. More embeds, such as Tumblr.com and kickstarter. Streamlined plugin updates.

WordPress 3.9 will be announced next month

Right now, this blog is running on WordPress 3.8.1. It is a go platform for blogging. Just noticed that WordPress 3.9 will be released next month. The Beta 1 is available for testing. I checked the list of new features and improvement. There are something interesting. 1) TinyMCE updated to latest version. 2) Widget management