Deprecated code

Created on 19 March 2024, 3 months ago
Updated 21 March 2024, 3 months ago

Deprecated function: CleverReach\Infrastructure\TaskExecution\TaskRunnerStarter implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in require_once()
(line 18 of modules/contrib/clever_reach/lib/Infrastructure/TaskExecution/TaskRunnerStarter.php).

Drupal 10.1.6
PHP 8.1.27

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @hoporr
  • Assigned to abhishek_virasat
  • Issue was unassigned.
  • Status changed to Needs review 3 months ago
  • 🇮🇳India abhishek_virasat

    @hoporr, I have fixed the issue and created Patch.

  • Patch installed clean, but after running it, you get WSOD with this message:

    Fatal error: Class CleverReach\Infrastructure\TaskExecution\TaskRunnerStarter contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Serializable::serialize, Serializable::unserialize) in C:\xampp_7.2.15\htdocs\Drupal\ECS\ecs_9\www\modules\contrib\clever_reach\lib\Infrastructure\TaskExecution\TaskRunnerStarter.php on line 18

    I think, the underlying problem is that TaskRunnerStarter derives from Runnable which etxtends \Serializable.

  • Status changed to Active 3 months ago
Production build 0.69.0 2024