What does this error mean? [Server thread/WARNING]: RuntimeException: "Illegal offset type in isset or empty" (E_WARNING) in "/src/pocketmine/scheduler/ServerScheduler" at line 138
Did you use cancelTask? You gave to pass the task ID to it, not the task object itself or the TaskHandler.