• Hello, after installing the WordPress Plugin, I got this error:

    Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/vendor/cleverreach/integration-core/src/Infrastructure/Interfaces/Required/Configuration.php on line 426 Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/vendor/cleverreach/integration-core/src/Infrastructure/Interfaces/Required/Configuration.php on line 426 Warning: Cannot modify header information – headers already sent by (output started at /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/vendor/cleverreach/integration-core/src/Infrastructure/Interfaces/Required/Configuration.php:426) in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-includes/functions.php on line 7182 Warning: Cannot modify header information – headers already sent by (output started at /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/vendor/cleverreach/integration-core/src/Infrastructure/Interfaces/Required/Configuration.php:426) in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-admin/admin-header.php on line 14

    PHP 8.4 and WP 6.9

    How can I fix this?

    THX

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

    (@cleverreachakr)

    Thank you for bringing this to our attention.

    Our development team has identified the cause of the PHP Deprecated notice regarding the json_decode() function. This is specifically related to stricter type handling introduced in PHP 8.4.

    We are already working on a fix, which will be included in an upcoming update as part of our version compatibility checks. This update will resolve both the deprecation notice and the resulting “headers already sent” warnings.

    We appreciate your patience and will notify you as soon as the update is available.

    Best regards

    Hi @rschulte
    A bug has been fixed that caused outdated warnings related to the Configuration.php file and the handling of null/empty values by json_decode().
    Note:
    Warnings for TagCollection are still present in PHP 8.4. Adjustments are currently being made for PHP 8.5 to resolve these warnings. A separate ticket has been created for this.

    Kind Regards
    Alex

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

You must be logged in to reply to this topic.