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.
I just installed CSS_injector, but I can't run the configuration page of CSS_injector under Site Configuration. This is the error I got:
warning: Parameter 1 to theme_css_injector_admin_form() expected to be a reference, value given in ...\includes\theme.inc on line 617.
I'm running a local test site, with XAMPP version 1.7.2: MySQL 5.1.37, PHP 5.3.0
Can anyone help me ?
Thanx.
Comment | File | Size | Author |
---|---|---|---|
#5 | css_injector_php5.3_01.patch | 479 bytes | andrewfn |
Comments
Comment #1
DimitrAT CreditAttribution: DimitrAT commentedI'm brand new in the Drupal world.
I have the exact same problem with Enrityn.
Can anyone help?
Thanks
Comment #2
wedge CreditAttribution: wedge commentedchange line 54 of css_injector.admin.inc to
function theme_css_injector_admin_form($form) {
used to be:
function theme_css_injector_admin_form(&$form) {
this is a php 5.3.0 problem. the same thing happened for me on snow leopard.
Comment #3
ricabrantes CreditAttribution: ricabrantes commentedI have the same problem, the change on line 54 don't work for me.
Linux 64bits
PHP Version 5.3.1
Apache/2.2.14
Comment #4
jcolomer CreditAttribution: jcolomer commentedIt worked for me, wedge. Thank you!
Comment #5
andrewfn CreditAttribution: andrewfn commentedHere is a patch for the above change.
Comment #6
eaton CreditAttribution: eaton commentedCommitted. Thanks!
Comment #7
eaton CreditAttribution: eaton commented