Skip to main content

PHP 8.4: Fix Deprecated Implicitly nullable parameters

Comments

3 comments

  • Ariel H.

    Hi Brooke.

    Thank you for contacting us.

    These are deprecation warnings, not fatal errors, so they won’t affect how Brizy works on your site. They appear because newer versions of PHP are stricter about how certain parameters are defined, and Brizy hasn’t yet fully adjusted to those changes yet.

    These warnings are not a cause for concern, and they will be addressed in upcoming future updates to ensure full compatibility.

    Best regards,
    Ariel H.

    -1
  • Brooke .

     

    These are deprecation warnings, not fatal errors, so they won’t affect how Brizy works on your site....These warnings are not a cause for concern

    This is not entirely true, as I mentioned in my initial post:

    While I understand that these are only warnings, they do fill up the logs and in this case are easy to fix. 

    You are correct that the warnings won't bring down a site, but if logging is enabled it is noticeable and noisy. As a PHP developer I monitor these types of warnings to ensure  mentioned Brizy is the last plugin in use with any such PHP 8.4 warnings. It is also not uncommon for these types of warnings to become fatal errors in the future. 

    I'm glad to hear that this will be addressed in a future release, I'm trying to decide if it's worth hot fixing locally or if I should wait for an official release with the fixes.

    Thanks for your attention.

    0
  • Ariel H.

    Hi Brooke,

    You’re right, these are not fatal errors, but they do clutter logs when enabled, and we understand how that can be disruptive. Our team is aware of your concern and is already working on a fix, which will be included in an upcoming version.

    Best regards,
    Ariel H.

    0

Please sign in to leave a comment.