Closed (fixed)
Project:
API Toolkit
Version:
1.4.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2025 at 15:45 UTC
Updated:
12 Jan 2026 at 11:19 UTC
Jump to comment: Most recent
After updating to Drupal 11.3.0, the following error appears:
Fatal error: Uncaught Error: Class "Doctrine\Common\Annotations\AnnotationReader" not found in /[...]/web/modules/contrib/api_toolkit/src/Validation/ValidatorFactory.php:40
It seems like annotation support is finally gone.
Add a class_exists() check around anything to do with the AnnotationReader class to keep backwards compatibility.
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
Comment #2
dieterholvoet commentedComment #5
dieterholvoet commented