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

bfr’s picture

No, 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?

bfr’s picture

Title: Only variables should be passed by reference in template_preprocess_views_supertable() » Variables should be passed by reference in template_preprocess_views_supertable()
Status: Fixed » Active

IF 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.

DeNelo’s picture

Status: Active » Fixed

The error was indeed "Only variables..". I'm using a variety of the Sky theme. Your fix did the trick - thanks very much!

bfr’s picture

Title: Variables should be passed by reference in template_preprocess_views_supertable() » Only variables should be passed by reference in template_preprocess_views_supertable()

Ok, great that it worked. Changing the title a bit for future reference. I think i'll trigger another stable release with this fix.

Title: Variables should be passed by reference in template_preprocess_views_supertable() » Only variables should be passed by reference in template_preprocess_views_supertable()
Status: Active » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.