• When using PHP 8.4 and the latest version of the Cookiebot plugin installed, the following Deprecation message shows up:

    Deprecated: cybot\cookiebot\lib\traits\Class_Constant_Override_Validator_Trait::validate_required_array_class_constant(): Implicitly marking parameter $allowed_item_values as nullable is deprecated, the explicit nullable type must be used instead in /path/to/project/wp-content/plugins/cookiebot/src/lib/traits/Class_Constant_Override_Validator_Trait.php on line 124

    It should be quite easy to resolve. Inside the Class_Constant_Override_Validator_Trait::validate_required_array_class_constant function, set the $allowed_item_values parameter type to array|null, or remove the type.

    Hopefully you’re able to take a look into it, thanks in advance !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Hanna

    (@hannausercentrics)

    Hi @mennoll
    Thank you for flagging this issue! It has been passed on to our developers and should be addressed soon.
    I’ll keep you updated on any progress.

    Plugin Support Hanna

    (@hannausercentrics)

    Hi @mennoll
    Thank you for your patience.
    This issue has been addressed in the latest release of the Cookiebot plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.