Problem/Motivation

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

Issue fork dropwatch-3563997

Command icon Show commands

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

marco.pagliarulo created an issue. See original summary.

  • 4cf1c13f committed on 1.0.x
    #3563997: Fatal error during cron if dropwatch_api_token is not set
    
jbloomfield’s picture

Status: Active » Fixed

Fixed in 1.0.0-beta7, thanks Marco!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

marco.pagliarulo’s picture

Happy 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.