I'm getting this error when go to the page: admin/structure/features/*/recreate.
"PHP warning: Only variables should be passed by reference in skinr_skin_features_export_options() (line 46 of sites/all/modules/contrib/skinr/skinr.features.inc)".
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | skinr-variables-only-reference-2175389-0.patch | 763 bytes | kendouglass |
Comments
Comment #1
kendouglass commentedThis patch was made on skinr-7.x-2.0-beta1+27-dev. It fixes the issue.
Comment #2
kendouglass commentedComment #3
kendouglass commentedComment #4
kendouglass commentedComment #5
kendouglass commentedComment #7
raveendrab commentedSimilar error is appearing in skinr_ui_admin.inc line 445. This erroris coming while listing the skin configurations.
Perhaps this is in connection with php 5.4 compatibility.
Strict warning: Only variables should be passed by reference in skinr_ui_admin_skins() (line 445 of /usr/local/share/drupal7/modules/skinr/skinr_ui.admin.inc).
Comment #8
kendouglass commentedIn my case, this error is with PHP 5.3.3.
More info:
I also, get a white screen and this error when clicking "Edit skin" in the blocks contextual links drop-down:
PHP Fatal error: [] operator not supported for strings in /home/drupal/drupal7/sites/example.com/themes/omega/omega/template.php on line 337The current parent theme I'm using is omega-7.x-4.2+2-dev. If I comment out line 337 mentioned in that error message, then all seems to work well.
I'm reporting this here because this error only happens when skinr is enabled.
I'll also add an issue for the omega theme project.
Comment #10
moonray commentedMost of these were already fixed in previous updates. The above commit fixes the last remaining instances.