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.
after creation of gallery everything seems ok, but such a message appears:
Strict warning: is_a(): Deprecated. Please use the instanceof operator in FieldsRSIPreventor->__construct() (line 24 of /var/www/.../sites/all/modules/media_gallery/fields_rsi_prevention.inc).
Media 7.x-1.0-rc2
Media Gallery 7.x-1.0-beta7
ColorBox jQuery plugin 1.3.18
Comment | File | Size | Author |
---|---|---|---|
#4 | use-instanceof-1322566-4.patch | 490 bytes | Moloc |
Comments
Comment #1
zegmant CreditAttribution: zegmant commentedcan anyone help?
Comment #2
allhailtheduck CreditAttribution: allhailtheduck commentedI changed line 24 from:
to
and the error message went away.
Comment #3
zegmant CreditAttribution: zegmant commentedsomethings goes wrong with this patch. the error message disappeared, but i have some utf symbols in the top of the page and broken adminmenu.
i am not familiar to php, just a lamer, sorry)
Comment #4
Moloc CreditAttribution: Moloc commentedHere is a patch, implementing #2.
Just a note:
System Requirements of Drupal 7
Changelog of the "is_a()" function:
Comment #5
lsolesen CreditAttribution: lsolesen commented@Moloc What is you opinion on this patch. Should it be implemented or just left out?
Comment #6
Moloc CreditAttribution: Moloc commentedAs we need to support the minimal requirements of D7, i commited the patch: http://drupalcode.org/project/media_gallery.git/commit/f10d151870395e755...