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.
Strict warning: Only variables should be passed by reference in wysiwyg_wymeditor_settings() (line 176 of sites/all/modules/wysiwyg/editors/wymeditor.inc).
The messages appears on WYMeditor profile edit page.
Comment | File | Size | Author |
---|---|---|---|
#5 | wysiwyg.1531896.5.patch | 1.48 KB | TwoD |
#1 | quickfix-1531896-0.patch | 711 bytes | Chi |
Comments
Comment #1
Chi CreditAttribution: Chi commentedComment #2
TwoDThanks for the patch!
Tested and committed to all main branches.
I'm sorry to have kept this change change waiting.
The -dev snapshots will be updated within 12 hours and this fix will be part of the next releases.
Comment #4
Emmanuel_S CreditAttribution: Emmanuel_S commentedI get the same issue in all\modules\wysiwyg\editors\openwysiwyg.inc line 103.
The patch at #1 is working too :
- $settings['stylesheet'] = reset(wysiwyg_get_css());
+ $css = wysiwyg_get_css();
+ $settings['stylesheet'] = reset($css);
Please make correction in the dev version.
Thanks !
Comment #5
TwoDFound one more. Tried searching for array_* functions that also require a reference, but found no issues.
If anyone is able to find more, it'd be nice to get them all in one patch.
Comment #6
TwoDCommitted to all main branches.
The -dev snapshots will be updated within 12 hours and this fix will be part of the next releases.
Comment #7.0
(not verified) CreditAttribution: commentedgrammar