Closed (fixed)
Project:
DropWatch
Version:
1.0.0-beta6
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
18 Dec 2025 at 20:42 UTC
Updated:
21 Jan 2026 at 18:44 UTC
Jump to comment: Most recent
When running Cron, if dropwatch_api_token is not set, cron fails with the following error:
TypeError: Cannot assign null to property Drupal\dropwatch\Client\DropWatchApiClient::$token of type string in Drupal\dropwatch\Client\DropWatchApiClient->sendUpdate()
Cannot assign null to property Drupal\dropwatch\Client\DropWatchApiClient::$token
| Comment | File | Size | Author |
|---|---|---|---|
| dropwatch-fatal-error-during-cron-if-dropwatch-api-token-is-not-set.diff | 519 bytes | marco.pagliarulo |
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
jbloomfield commentedFixed in 1.0.0-beta7, thanks Marco!
Comment #7
marco.pagliarulo commentedHappy to help :)
Just a note, I don't really care much, especially for such a small contribution, however I suggest you to reward who contribute with a contribution record, it is an incentive for other people to provide solutions other than just reporting bugs.