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.
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\feeds\Plugin\Type\PluginBase->__construct() (line 50 of /data/www/default/openbooking/web/modules/contrib/feeds/src/Plugin/Type/PluginBase.php)
source code:
assert('isset($configuration["feed_type"]) && $configuration["feed_type"] instanceof Drupal\feeds\FeedTypeInterface');
Comment | File | Size | Author |
---|---|---|---|
#4 | fix-deprecated-assert-2956930-4.patch | 768 bytes | mikran |
Comments
Comment #2
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedI see that the automated tests for PHP 7.2 fail with this error (see https://www.drupal.org/pift-ci-job/927555). Labeling this issue as a bug.
Since you assigned the issue to yourself, are you working on a fix for this bug?
See https://www.drupal.org/node/2172049 for more information about the "Assigned" field.
Comment #3
jileilei CreditAttribution: jileilei commentedComment #4
mikran CreditAttribution: mikran at Mediamaisteri Oy commentedlet's get rid of the warning
Comment #5
mikran CreditAttribution: mikran at Mediamaisteri Oy commentedComment #7
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedCommitted #4 with one difference: the class FeedTypeInterface is referenced with an use statement.