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 commentedHere is a simple fix.
Comment #3
sergiu stici 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 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
baikho commentedUpdating issue to address the other deprecation errors from #3
Comment #6
baikho commentedComment #8
baikho commentedSorry I overlooked the patch in #3, committed to
8.x-1.x-dev.