bobbingwide / oik-bwtrace

debug trace for WordPress
https://www.oik-plugins.com/oik-plugins/oik-bwtrace-debug-trace-for-wordpress/
GNU General Public License v2.0
6 stars 1 forks source link

Support PHP 8.3 and PHP 8.4 #116

Open bobbingwide opened 11 months ago

bobbingwide commented 11 months ago

Update code and tests to support PHP 8.3 See https://github.com/bobbingwide/bobbingwide

Specifically, cater for PHP 8.3 EOL date, which is 23rd November 2023 - for end of security support.

Warning: Undefined array key "8.3" in C:\apache\htdocs\wordpress\wp-content\plugins\oik-bwtrace\admin\class-oik-trace-info.php on line 233

bobbingwide commented 2 months ago

PHP 8.4 will be released in November and already has a published EOL date in 2028.

bobbingwide commented 1 month ago

I got the following message when defining Trace files for the first time in s.b/officialcaravan

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\apache\htdocs\wordpress\wp-content\plugins\oik-bwtrace\admin\class-oik-trace-summary.php on line 96
bobbingwide commented 2 days ago

With PHP 8.4 installed I got the following message

[23-Nov-2024 15:42:30 UTC] PHP Deprecated: Constant E_STRICT is deprecated in C:\apache\htdocs\wordpress\wp-content\plugins\oik-bwtrace\includes\bwtrace-actions.php on line 256