Bug 4 Panels version?

autonetex - June 5, 2007 - 05:56
Project:Panels Taxonomy
Version:5.x-0.2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

white screen of death....

#1

toma - June 5, 2007 - 08:06

same here

#2

fixweb - June 9, 2007 - 10:13
Category:support request» bug report
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!

#3

fixweb - June 9, 2007 - 10:17
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

#4

robertgarrigos - June 12, 2007 - 03:16

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);

#5

edrex - June 20, 2007 - 18:41

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.

#6

edrex - June 29, 2007 - 18:56
Status:active» fixed

#7

Anonymous - July 13, 2007 - 19:16
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.