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.
Problem/Motivation
drupal-check reports
------ -------------------------------------------------------------------------------------------------------------------------------------------------
Line metatag_facebook/src/Plugin/metatag/Group/Facebook.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\facebook\Plugin\metatag\Group\Facebook was not found while trying to analyse it - autoloading is probably not configured properly.
------ -------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line metatag_mobile/src/Plugin/metatag/Group/AndroidMobile.php
------ ---------------------------------------------------------------------------------------------------
Class Drupal\metatag_mobile\Plugin\metatag\Group\GroupBase not found and could not be autoloaded.
------ ---------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line metatag_mobile/src/Plugin/metatag/Group/AppleMobile.php
------ ---------------------------------------------------------------------------------------------------
Class Drupal\metatag_mobile\Plugin\metatag\Group\GroupBase not found and could not be autoloaded.
------ ---------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line metatag_mobile/src/Plugin/metatag/Group/Mobile.php
------ ---------------------------------------------------------------------------------------------------
Class Drupal\metatag_mobile\Plugin\metatag\Group\GroupBase not found and could not be autoloaded.
------ ---------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line metatag_mobile/src/Plugin/metatag/Group/WindowsMobile.php
------ ---------------------------------------------------------------------------------------------------
Class Drupal\metatag_mobile\Plugin\metatag\Group\GroupBase not found and could not be autoloaded.
Proposed resolution
Fix the namespace and imports
Comment | File | Size | Author |
---|---|---|---|
#2 | 3101288.patch | 2.24 KB | chr.fritsch |
|
Comments
Comment #2
chr.fritschHere is a patch
Comment #3
DamienMcKennaCommitted. Thank you.