Closed (fixed)
Project:
Views Supertable
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2012 at 07:34 UTC
Updated:
28 Feb 2012 at 11:30 UTC
Hi,
I get this error every time I show the supertable (which, btw, is VERY nice!):
Variables should be passed by reference in template_preprocess_views_supertable() (line 35 of /var/www/htdocs/sites/all/modules/views_supertable/theme/views_supertable.theme.inc).
You ever get that?
Comments
Comment #1
bfr commentedNo, i have not run in to that error, but thanks for reporting, i will look into it.
Could you provide more info, like the theme you are using and maybe export from the view?
Also, is that the complete copy-paste of the error, or does it actually say "ONLY variables should be.." ?
Edit: Also could you test if it happens also on some default theme?
Comment #2
bfr commentedIF the error was "Only variables should be..", it is caused by drupal core not handling strict warnings correctly. I made a fix that tries to fix this, you can get the latest version from Version Control or wait for the 7.x-dev to update(takes few hours from this point).
Please let me know if it helped.
Comment #3
DeNelo commentedThe error was indeed "Only variables..". I'm using a variety of the Sky theme. Your fix did the trick - thanks very much!
Comment #4
bfr commentedOk, great that it worked. Changing the title a bit for future reference. I think i'll trigger another stable release with this fix.