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.
Hello, this module triggers an error in the background because it uses a deprecated (db_select) function.
The offending file is: /src/Core/Helper.php line 45 and 69
db_select: https://api.drupal.org/api/drupal/core%21includes%21database.inc/functio...
Comment | File | Size | Author |
---|---|---|---|
#3 | deprecated-3068495.patch | 2.76 KB | Sergiu Stici |
#2 | db_select-fix.patch | 1.04 KB | dasj19 |
Comments
Comment #2
dasj19 CreditAttribution: dasj19 as a volunteer commentedHere is a simple fix.
Comment #3
Sergiu Stici CreditAttribution: Sergiu Stici at FFW commentedI ran php drupal-check.phar modules/contrib/structured_data/ and I got a lot of deprecated function.
Here is the result.
I created a patch, please review.
Comment #4
dasj19 CreditAttribution: dasj19 as a volunteer commentedCool, Thanks #3 I did not know about drupal-check, That's a cool tool to have.
Your patch is working so far, I added it to my composer.json
Comment #5
baikhoUpdating issue to address the other deprecation errors from #3
Comment #6
baikhoComment #8
baikhoSorry I overlooked the patch in #3, committed to
8.x-1.x-dev
.