Fatal error: __clone method called on non-object in /home/controlc/www/sites/all/modules/fileframework/contrib/browser/file_browser.module on line 956

This happens when hitting the "Browser" tab of a group page.
Only one group among 11 fails.

CommentFileSizeAuthor
#2 OGgallery.jpg71.58 KBjvieille

Comments

jvieille’s picture

Priority: Normal » Critical

+1
This concerns the only group that really needs this feature... so critical for me

jvieille’s picture

StatusFileSize
new71.58 KB

In fact I got 2 errors that seem to be related to the same problem. I report this error
http://drupal.org/node/739772
that I marked as duplicate

Actually, I get errors with both the browser and the gallery tabs:

Browser:
Fatal error: __clone method called on non-object in /home/controlc/www/sites/all/modules/fileframework/contrib/browser/file_browser.module on line 956
+ blank screen

Gallery:
warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/controlc/www/sites/all/modules/fileframework/contrib/gallery/file_gallery.module on line 288.
+ The gallery is still usable.

However, the warning Gallery shows something interesting: though I have only one vocabulary specific for this group, the gallery shows 2. The second is blank as it appears on the attached screenshot. The link to this blank vocabulary is
http://www.controlchainmanagement.org/node/73/gallery/ - the vocabulary Id is missing in the url

Hope this helps to target this issue: may be something happens in the database, but I reallly don't know where to look at.

jvieille’s picture

Title: OG Browser tab breaks: error ...ile_browser.module on line 956 » OG Browser tab breaks + Gallery tab warning
jvieille’s picture

+1

jvieille’s picture

+1

jvieille’s picture

Found the problem!

You can easily reproduce the error:
- Define a vocabulary for a group, but don't enable it for the content type "file" - this makes FF breaking at browsing.

jvieille’s picture

Could you have a look at this annoying problem?
Thanks

miglius’s picture

Status: Active » Fixed

Thanks for spotting it. Should be fixed in the latest dev version.

Status: Fixed » Closed (fixed)

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