On an OpenFed 7.x-1.9 I enabled the language_selection_page module. After navigating from the language selection page I get the following warnings:
Strict warning: Only variables should be passed by reference in language_selection_page_request_path() (line 222 of DRUPALROOT\profiles\openfed\modules\contrib\language_selection_page\language_selection_page.module).
Notice: Undefined index: attributes in theme_image() (line 1785 of /DRUPALROOT/includes/theme.inc).
Receiving warnings on both:
Web Server: Apache/2.4.7 (Ubuntu)
PHP 5.5.9
&
Web Server: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3
PHP 5.6.3
I also get the first warning when proceeding Setup regional installation process step after ticking the "Language cookie and language selection page" checkbox. (see attached file)
Comment | File | Size | Author |
---|---|---|---|
installprofile-setup-taxonomy.PNG | 30.54 KB | baikho |
Comments
Comment #1
bart.hanssens CreditAttribution: bart.hanssens commentedThanks for reporting this issue. It could be a PHP5.5 / 5.6-only error, currently we only test on PHP5.4
Comment #2
Gleach CreditAttribution: Gleach commentedSubscribed
Comment #3
stefan.r CreditAttribution: stefan.r commentedComment #4
stefan.r CreditAttribution: stefan.r commentedThis has already been fixed in #2332059: PHP error: Only variables can be passed by reference. This would be fixed by upgrading to beta3.
Comment #5
bart.hanssens CreditAttribution: bart.hanssens commentedShould be fixed in 1.10-beta2
Comment #6
YesCT CreditAttribution: YesCT commentedusing the more common tag (so I can delete the less commonly used one)
Comment #8
rutiolmaThis issue was fixed with the commit #d9a3281 but commit #7b83a06 brought it back with the downgrade to Language Selection Page 2.0-beta2
Comment #9
stefan.r CreditAttribution: stefan.r commentedThis fix never made it into an actual release (nor did any of the upgrades in #d9a3281), they were postponed to 2.0 or later.
Tagging this for inclusion back into 2.0
Comment #10
bdeclerc CreditAttribution: bdeclerc commentedLet's include this in openfed2.0
Comment #11
stefan.r CreditAttribution: stefan.r commentedadded
Comment #12
michal.k CreditAttribution: michal.k commentedI noticed this issue on my openfed 7.x-2.4 instance.
Comment #13
michal.k CreditAttribution: michal.k commentedI had this notice:
Notice: Undefined index: attributes in theme_image() (line 1785 of /DRUPALROOT/includes/theme.inc)
It was because of missing argument in ofed_theme_nerra in html--language-selection.tpl.php line 93
print theme_image(array('path' => $logo, 'alt' => 'Logo', 'title' => 'Logo'));
should be replaced by:
print theme_image(array('path' => $logo, 'alt' => 'Logo', 'title' => 'Logo', 'attributes' => array()));