Uncaught TypeError when enabling

Created on 26 October 2022, about 2 years ago
Updated 14 March 2023, almost 2 years ago

When enabling the module or when upgrading from 7.x-3.1, I get the error below:
Fatal error: Uncaught TypeError: Argument 1 passed to Drupal\openlayers\Plugin\Discovery\AnnotatedClassDiscovery::prepareAnnotationDefinition() must be an instance of OpenlayersDrupal\Component\Annotation\AnnotationInterface, instance of Drupal\libraries_cdn\Component\Annotation\LibrariesCDNPlugin given, called in C:\wampserver\www\openlayers2\sites\all\modules\openlayers\src\Plugin\Discovery\AnnotatedClassDiscovery.php on line 137 and defined in C:\wampserver\www\openlayers2\sites\all\modules\openlayers\src\Plugin\Discovery\AnnotatedClassDiscovery.php:160 Stack trace: #0 C:\wampserver\www\openlayers2\sites\all\modules\openlayers\src\Plugin\Discovery\AnnotatedClassDiscovery.php(137): Drupal\openlayers\Plugin\Discovery\AnnotatedClassDiscovery->prepareAnnotationDefinition(Object(Drupal\libraries_cdn\Component\Annotation\LibrariesCDNPlugin), 'Drupal\\librarie...') #1 C:\wampserver\www\openlayers2\sites\all\modules\openlayers\src\ServiceContainer\ServiceProvider\ServiceContainerServiceProvider.php(226): Drupal\openlayers\Plug in C:\wampserver\www\openlayers2\sites\all\modules\openlayers\src\Plugin\Discovery\AnnotatedClassDiscovery.php on line 160

My site is on D7.82 and runs PHP 7.4

🐛 Bug report
Status

Postponed: needs info

Version

3.0

Component

OL API

Created by

🇧🇪Belgium frank.schram

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024