{"id":18285617,"date":"2025-02-05T04:44:55","date_gmt":"2025-02-05T04:44:55","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/deprecation-errors-with-php-8-4-5\/"},"modified":"2025-02-05T04:44:55","modified_gmt":"2025-02-05T04:44:55","slug":"deprecation-errors-with-php-8-4-5","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/deprecation-errors-with-php-8-4-5\/","title":{"rendered":"Deprecation errors with PHP 8.4"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When installing on a new site with PHP 8.4 I got those errors:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Deprecated<\/strong>: Freemius::maybe_activate_bundle_license(): Implicitly marking parameter $license as nullable is deprecated, the explicit nullable type must be used instead in\u00a0<strong>\/&#8230;\/wp-content\/plugins\/error-log-monitor\/freemius\/includes\/class-freemius.php<\/strong>\u00a0on line\u00a0<strong>7780<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Deprecated<\/strong>: Freemius::set_license(): Implicitly marking parameter $license as nullable is deprecated, the explicit nullable type must be used instead in\u00a0<strong>\/&#8230;\/wp-content\/plugins\/error-log-monitor\/freemius\/includes\/class-freemius.php<\/strong>\u00a0on line\u00a0<strong>12388<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Deprecated<\/strong>: Freemius::switch_to_blog(): Implicitly marking parameter $install as nullable is deprecated, the explicit nullable type must be used instead in\u00a0<strong>\/&#8230;\/wp-content\/plugins\/error-log-monitor\/freemius\/includes\/class-freemius.php<\/strong>\u00a0on line\u00a0<strong>15633<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Deprecated<\/strong>: Freemius::_activate_addon_account(): Implicitly marking parameter $bundle_license as nullable is deprecated, the explicit nullable type must be used instead in\u00a0<strong>\/&#8230;\/wp-content\/plugins\/error-log-monitor\/freemius\/includes\/class-freemius.php<\/strong>\u00a0on line\u00a0<strong>18112<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Deprecated<\/strong>: Freemius::_store_site(): Implicitly marking parameter $site as nullable is deprecated, the explicit nullable type must be used instead in\u00a0<strong>\/&#8230;\/wp-content\/plugins\/error-log-monitor\/freemius\/includes\/class-freemius.php<\/strong>\u00a0on line\u00a0<strong>19711<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Deprecated<\/strong>: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in\u00a0<strong>\/&#8230;\/wp-admin\/admin-header.php<\/strong>\u00a0on line\u00a0<strong>36<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Anything I can do? Please note that everything still works fine. It&#8217;s just that the log file gets flooded.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks.<\/p>\n","protected":false},"template":"","class_list":["post-18285617","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18285617","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\/18285617\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18285617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}