• rschulte

    (@rschulte)


    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 4 replies - 1 through 4 (of 4 total)
  • 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

    Thread Starter rschulte

    (@rschulte)

    I justed uploaded the new cleverreach plugin, but now, theres a new bug:

    Deprecated: CleverReach\WordPress\Components\Repositories\Base_Repository::select(): Implicitly marking parameter $filter as nullable is deprecated, the explicit nullable type must be used instead in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/Components/Repositories/class-base-repository.php on line 80 Deprecated: CleverReach\WordPress\Components\Repositories\Base_Repository::selectOne(): Implicitly marking parameter $filter as nullable is deprecated, the explicit nullable type must be used instead in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/Components/Repositories/class-base-repository.php on line 108 Deprecated: CleverReach\WordPress\Components\Repositories\Base_Repository::deleteBy(): Implicitly marking parameter $filter as nullable is deprecated, the explicit nullable type must be used instead in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/Components/Repositories/class-base-repository.php on line 174 Deprecated: CleverReach\WordPress\Components\Repositories\Base_Repository::count(): Implicitly marking parameter $filter as nullable is deprecated, the explicit nullable type must be used instead in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/Components/Repositories/class-base-repository.php on line 200 Deprecated: CleverReach\WordPress\IntegrationCore\Infrastructure\ORM\Interfaces\RepositoryInterface::select(): Implicitly marking parameter $filter as nullable is deprecated, the explicit nullable type must be used instead in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/vendor/cleverreach/integration-core/src/Infrastructure/ORM/Interfaces/RepositoryInterface.php on line 41 Deprecated: CleverReach\WordPress\IntegrationCore\Infrastructure\ORM\Interfaces\RepositoryInterface::selectOne(): Implicitly marking parameter $filter as nullable is deprecated, the explicit nullable type must be used instead in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/vendor/cleverreach/integration-core/src/Infrastructure/ORM/Interfaces/RepositoryInterface.php on line 50 Deprecated: CleverReach\WordPress\IntegrationCore\Infrastructure\ORM\Interfaces\RepositoryInterface::deleteBy(): Implicitly marking parameter $filter as nullable is deprecated, the explicit nullable type must be used instead in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/vendor/cleverreach/integration-core/src/Infrastructure/ORM/Interfaces/RepositoryInterface.php on line 86 Deprecated: CleverReach\WordPress\IntegrationCore\Infrastructure\ORM\Interfaces\RepositoryInterface::count(): Implicitly marking parameter $filter as nullable is deprecated, the explicit nullable type must be used instead in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/vendor/cleverreach/integration-core/src/Infrastructure/ORM/Interfaces/RepositoryInterface.php on line 95 Deprecated: CleverReach\WordPress\IntegrationCore\BusinessLogic\Scheduler\Models\Schedule::__construct(): Implicitly marking parameter $task as nullable is deprecated, the explicit nullable type must be used instead in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/vendor/cleverreach/integration-core/src/BusinessLogic/Scheduler/Models/Schedule.php on line 110 Deprecated: CleverReach\WordPress\IntegrationCore\Infrastructure\TaskExecution\QueueItem::__construct(): Implicitly marking parameter $task as nullable is deprecated, the explicit nullable type must be used instead in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/vendor/cleverreach/integration-core/src/Infrastructure/TaskExecution/QueueItem.php on line 156 Deprecated: CleverReach\WordPress\IntegrationCore\Infrastructure\TaskExecution\QueueItem::getTimestamp(): Implicitly marking parameter $time as nullable is deprecated, the explicit nullable type must be used instead in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/vendor/cleverreach/integration-core/src/Infrastructure/TaskExecution/QueueItem.php on line 675 Warning: Cannot modify header information – headers already sent by (output started at /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/Components/Repositories/class-base-repository.php:80) in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-includes/functions.php on line 7182 Deprecated: WPCF7_TagGenerator::add(): Die Verwendung von Tag-Generator-Instanzen, die älter als Version 2 sind, ist veraltet. Version 1 Instanz (CleverReach® Sign-Up) erkannt. in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-includes/functions.php on line 6131 Warning: Cannot modify header information – headers already sent by (output started at /mnt/web511/e3/51/59443651/htdocs/sowas/wp-content/plugins/cleverreach-wp/Components/Repositories/class-base-repository.php:80) in /mnt/web511/e3/51/59443651/htdocs/sowas/wp-admin/admin-header.php on line 14

    It seems it’s the same php 8.4 problem?

    Hi.
    We have already released a new version.
    Another one is currently in development, which will fix a few bugs.

    I can’t give an exact release date at this time.

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

You must be logged in to reply to this topic.