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

Created on 1 April 2024, 8 months ago
Updated 10 July 2024, 4 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

Needs review

Version

1.0

Component

Code

Created by

🇳🇵Nepal sujan shrestha Nepal🇳🇵, Kathmandu

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024