white screen of death....

Comments

toma’s picture

same here

fixus971’s picture

Category: support » bug
Priority: Normal » Critical

Hi. I need this module but it stop my site with error:
Parse error: parse error, unexpected T_OBJECT_OPERATOR in /home/virtual/site56/fst/var/www/html/modules/panels_taxonomy/panels_taxonomy.module on line 216
in all pages!

fixus971’s picture

Title: Install doesn't work » Bug 4 Panels version?

I think that the problem can be Panels version:
I have standard I found version 2 but with this text:
"I've released Panels 2 alpha 2. I don't recommend using it on a real site unless you're seriously adventurous and have a cast iron stomach, but I'd like to get people to test it out."
If you use it can tell us if work fine?
Thx

robertgarrigos’s picture

The problem is on the very last line of code.

This

return 'Taxonomy browser: '.taxonomy_get_vocabulary($form['vid'])->name;

should read

return 'Taxonomy browser: '.taxonomy_get_vocabulary($form['vid']->name);
edrex’s picture

This is a PHP4 compatibility bug (PHP4 doesn't support accessing the attributes of temporary objects returned by functions)

Changed to

  $vocabulary = taxonomy_get_vocabulary($form['vid']);
  return 'Taxonomy browser: '.$vocabulary->name;

Thanks for the report.

edrex’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)