Steps to reproduce:
- Create a Drupal project using BLT (& lightning)
- Use composer to require drupal/acquia_contenthub:~2
- Attempt to install the base content hub module
It appears that Content Hub is attempting to initiate a content hub creds before Content Hub has been configured. In the process, a null values is passed in for the webhook when the class is expecting an array.
I updated Drupal\acquia_contenthub\EventSubscriber\GetSettings::onGetSettings to pass an empty array for the webhook by default and that seemed to fix the issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3115034-fix-fatal-errors.patch | 1.07 KB | josh waihi |
Comments
Comment #2
josh waihi commentedComment #5
scor commentedBug confirmed and patch solves the problem.
Comment #6
amangrover90 commentedIssue fixed.