{"id":18771693,"date":"2025-12-31T14:35:45","date_gmt":"2025-12-31T14:35:45","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php8-5-support\/"},"modified":"2025-12-31T14:35:45","modified_gmt":"2025-12-31T14:35:45","slug":"php8-5-support","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php8-5-support\/","title":{"rendered":"PHP8.5 Support"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As of December 2025, PHP8.5 has now been released.  As such, support for PHP8.5 will be needed in order for sites and plugins to take advantage of features and performance gains.  As I am now testing our own sites for PHP8.5, I am taking the time to report any errors or warnings.<br \/><br \/>For Resmushit, I see:<br \/><br \/>Non-canonical cast (boolean) is deprecated, use the (bool) cast instead<br \/>wp-content\/plugins\/resmushit-image-optimizer\/classes\/Controller\/CronController.php:148 and line 149<br \/><br \/>Please adjust accordingly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you!<\/p>\n","protected":false},"template":"","class_list":["post-18771693","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18771693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18771693\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18771693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}