You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 29, 2025. It is now read-only.
Upon using AIOM in a PHP 7.1 environment, I am now seeing several warnings and notices appearing.
Warning: A non-numeric value encountered in AllInOneMinify.module on line 713
Upon further inspection, the variable $_timestamp is initialised as '' rather than 0. Therefore the new notices that PHP issues when arithmetic is performed on non numeric values pop up.
The other error I saw is:
Notice: A non well formed numeric value encountered in cssmin.php on line 769
Upon further inspection, I can see that the variable $size is an integer in the form of a string, and is sometimes suffixed with a unit. That unit is not removed before $size is implicitly casted to an integer during the arithmetic seen on that line.
None of issues actually cause any real problems, it's just nice knowing that there are no errors being issued whatsoever.