Tech geek. Life geek.

Tag: bug (Page 1 of 3)

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:, server:, request: “GET / HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php/php7.2-fpm.sock:”, host: “”


It is a bug or error, or just a compatibility issue between php 7.2 and W3 Total Cache.

Based on the the dissus on the WP site, TeroSalminen has a workaround.

Replacing a line in “function get_replaced_urls()” seems to work:

Replace the line
if ( count( $this->_replaced_urls ) ) {
if ( $this->_replaced_urls && count($this->_replaced_urls) ) {
and test.

One more update of Android 5.1.1 on Nexus 7 (2013)

Today, my Nexus 7 device got another OTA update of system.

The update size is 13.8MB per below screen.

2015-09-10 19.51.07

It said that this update will improve stability, increase security, and fix bugs.

Before update, the system > About Tablet screen shown as below.

2015-09-10 19.50.58

Build number LMY48I

After update, the build number is LMY48M, but the android version is still 5.1.1.


2015-09-10 20.57.41

For me, I just want the Nexus 7 has longer battery. Especialy when I play the game, Candy Crush Saga and Candy Crush Soda, the back of device, near the camera, is very hot.


Service Advisory – OpenVZ Platform from BurstNet

It is confirmed that the iproute problem is a bug of CentOS or Fedora linux system on OpenVZ platform.

BurstNet sent a email to me about this issue.

We are contacting you to make you aware of an issue that is affecting OpenVZ Red Hat based VPS servers. This issue can effect Fedora and Centos based systems hosted on any VZ platforms. So this is not isolated to Burstnet OpenVZ VPS servers. If you do not have a Red Hat based Linux OS installed, then you can disregard this email.

An update for Red Hat based operating systems was recently released by the developers of these Linux distributions, that breaks the IP route software installed on them. If the IP route software is broken, then the networking service for the operating system will not start and the VPS will not connect to the network.  When a VPS is affected in this manner, Veportal may report that the VPS is started, however it will not be accessible over the internet.  Please note that BurstNET does NOT push updates to VPS operating systems.

Continue reading

Another update of Webmin, it is version 1.650 now

A few days ago, I upgrade the Webmin to 1.640 at my VPS. Now I saw another updates on the Webmin control panel.

Version 1.650 (17th August 2013)

  • Fixed bugs in the Apache and Software packages module.
  • Added the ability to change the execution time of Webmin scheduled functions.

It is kind of important to keep the Webmin installation update.
I run it on my, Linode, and Digital Ocean VPSs.

Webfont doesn’t shown in Firefox 22

I have a site which is using web font in css. It looks good in Chrome, IE, etc., except Firefox. It just shew a square with the number, something like F052.

I did a lot of search and it took me about 4 hours, until now I got the solution.
It is only happened on cross domain resource.
It is only happened on Firefox.
It is only happened when using CDN.

When I use Firebug to look at the pipe, the woff web font file is aborted. The url is corrected.

Catalin Rosu gave the solution in this post.

Firefox doesn’t allow cross-domain fonts

Continue reading

User Register Error on Joomla 3

If you search by error code: PHP Fatal error: Call to a member function where() on a non-object in /home/username/sitename/joomla/components/com_users/models/registration.php on line 521 and landed here, you are very closed to the solutions.

When a new user tried to register, he may received the 500 error. The real error information is behide it. So go to check the error.log file.

Then you will see the error infomation:

PHP Fatal error: Call to a member function where() on a non-object in /home/username/sitename/joomla/components/com_users/models/registration.php on line 521

Continue reading

Calibre upgraded to 0.9.8

Just a week, Calibre 0.9.8 came.
Here is some new for it.

New Features

  • Add an option to show the cover size in the book details panel on the right. Option is in Preferences->Look & Feel->Book Details
  • Kobo driver: Add support for firmware 2.2. Also add an option to send series information to the device.

    The newest Kobo firmware can display series information. Unfortunately, the Kobo does not read this information from the ebook file itself. It has to be sent separately after the Kobo has finished processing the new files. So you might have to connect – send books – disconnect and then re-connect for the series infor to show up. Fixes #1084388 (Add support for series on Kobo devices)

  • Catalogs: Allow using custom columns as the source for Genres when generating catalogs
  • When the user asks calibre to convert a book, show a small animation to make highlight that the convert job has been queued to run in the background
  • Add support for the notification center in OS X 10.8
  • calibredb: Add an option to specify the cover to use when adding books with calibredb add.
  • EPUB Input: Add support for EPUB files with broken central directory records *and* data descriptors
  • Comic metadata: Support reading metadata from cbr files. Also read the comments and published date info from the metadata.
  • Speed up processing of RAR and CBR files by avoiding an extra file copy
  • Add driver for Nexus 10 on linux.

Continue reading

calibre upgraded to 0.9.4

As usual, upgrade calibre to the latest version. Now it is v0.9.4.
Major new feature:
Conversion: Add an option to embed a font family into the book. [0.9.4]

The embedded font is used as the base font for all text that does not specify its own font family in the input document. Works only with output formats that support font embedding, principally EPUB/AZW3. Option is found under Look & Feel in the conversion dialog. You can ensure that the font is used for all text, regardless of the input document’s styles by filtering out font family styles via the Filter Style Information option in the Conversion dialog.

Continue reading

Hotmail has a bug on Firefox with attachment file name in Chinese

Microsoft Hotmail, or live, or outlook has the bug. It only happens when you received the email with an attachment, which has Chinese file name. And also you are using Firefox to open it.
As shown the screen shot below. the attachment has a Chinese file name with a normal extension name .pps. It is a Powerpoint file.
In Firefox, when I click to download, it pop up an download confirmation window, one underscore is added in the front, another underscore is added in the end of the file name. The extension name is changed to .pps_. Then the default program supposed to open the Powerpoint file can not open this file. I have to manually rename the file and let it run.

Continue reading

« Older posts

© 2020 David Yin's Blog

Theme by Anders NorenUp ↑