Warning: Undefined array key "collection" in Drupal\calendly\Controller\DataController->eventslist()

Created on 1 April 2024, 3 months ago
Updated 2 April 2024, 3 months ago

I encountered the following errors when the API key is invalid:

  • Warning: Undefined array key "collection" in Drupal\calendly\Controller\DataController->eventslist() (line 62 of modules/contrib/calendly/src/Controller/DataController.php).
  • Warning: foreach() argument must be of type array|object, null given in Drupal\calendly\Controller\DataController->eventslist() (line 62 of modules/contrib/calendly/src/Controller/DataController.php).
  • Warning: Undefined variable $final_data in Drupal\calendly\Controller\DataController->eventslist() (line 82 of modules/contrib/calendly/src/Controller/DataController.php).

To address these errors, I've created a new patch. Please review it.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

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

Comments & Activities

Production build 0.69.0 2024