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.
------ ------------------------------------------------
Line simple_amp.install
------ ------------------------------------------------
61 Call to deprecated function db_table_exists().
------ ------------------------------------------------
------ ------------------------------------------
Line src/AmpBase.php
------ ------------------------------------------
108 Call to deprecated function db_insert().
117 Call to deprecated function db_delete().
124 Call to deprecated function db_select().
------ ------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------
Line src/Controller/AmpController.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\simple_amp\Controller\AMPController was not found while trying to analyse it - autoloading is probably not configured properly.
------ ----------------------------------------------------------------------------------------------------------------------------------------------
[ERROR] Found 5 errors
Comment | File | Size | Author |
---|---|---|---|
#3 | deprecated-3084586-2.patch | 1.37 KB | Sergiu Stici |
Comments
Comment #2
minnur CreditAttribution: minnur commentedThanks for the report. Those functions will be deprecated in Drupal 9 , not in Drupal 8 so it is good to have those in there for now, but definitely I will changes in the near future.
Comment #3
Sergiu Stici CreditAttribution: Sergiu Stici at FFW commentedHere's the patch, please review.
Comment #5
minnur CreditAttribution: minnur at Chapter Three commentedThanks for the patch.
Comment #6
minnur CreditAttribution: minnur at Chapter Three commented