Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Error on installing Services module, or navigating to api/doc after installing & configuring module (with Services already enabled):
Fatal error: Cannot use Drupal\Component\Utility\String as String because 'String' is a special class name in /var/www/build/html/modules/contrib/rest_api_doc/src/Controller/RestApiDocController.php on line 10
I only relate this to services module in particular because of my surprise at seeing the error on attempting to install Services.
Comments
Comment #2
Grayside CreditAttribution: Grayside at Phase2 commentedFixed formatting syntax.
Comment #3
larowlanThanks, fixing
Comment #5
larowlanRolling a new release -thanks