Running PHP 5.3+ the Drupal 6 Autoload module (unsure about d7) barks at me about the Messaging module with the following error messages:
Strict warning: Static function Messaging_Object::db_table() should not be abstract in _autoload_registry_check_code() (line 183 of autoload.module).
Strict warning: Static function Messaging_Object::db_key() should not be abstract in _autoload_registry_check_code() (line 183 of autoload.module).
Strict warning: Static function Messaging_Object::load() should not be abstract in _autoload_registry_check_code() (line 183 of autoload.module).
Strict warning: Static function Messaging_Object::build() should not be abstract in _autoload_registry_check_code() (line 183 of autoload.module).
Strict warning: Static function Messaging_Cached_Object::cache_set() should not be abstract in _autoload_registry_check_code() (line 183 of autoload.module).
Strict warning: Static function Messaging_Cached_Object::cache_get() should not be abstract in _autoload_registry_check_code() (line 183 of autoload.module).
Strict warning: Declaration of Messaging_Cached_Object::object_load() should be compatible with Messaging_Object::object_load($table, $key, $value, $class = NULL) in _autoload_registry_check_code() (line 183 of autoload.module).
Back-story and details here: http://stackoverflow.com/a/31235907/413538
Comment | File | Size | Author |
---|---|---|---|
#7 | messaging-abstract-static-methods-2637366-7.patch | 2.17 KB | skylord |
#6 | 2637366-6.patch | 2.06 KB | joelpittet |
#2 | messaging-abstract-static-methods-2637366-2-D6.patch | 2.67 KB | jwilson3 |
Comments
Comment #2
jwilson3This patch does a couple things
= NULL
.Comment #3
jwilson3Comment #4
GreenSkunkThis patch works for one of the sites I'm maintaining.
Comment #5
joelpittetI use this but it may need a reroll.
Comment #6
joelpittetRe-rolled
Comment #7
skylord CreditAttribution: skylord commentedHm. It seems you forgot some lines from #2 while rerolling...
Comment #8
joelpittetI may have done that on purpose but can't remember off hand why... (should have commented though...) thanks for adding those back in and checking @skylord