Active
Project:
Upload previews
Version:
6.x-1.1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2011 at 07:42 UTC
Updated:
22 Aug 2011 at 23:02 UTC
I see that this issue was raised against the Drupal 5 version but it still exists.
warning: Attempt to assign property of non-object in /sites/all/modules/upload_preview/upload_preview.module on line 150.
This shows for any attachment which is not an image (like .xls and .doc).
Comments
Comment #1
alekb commentedAs I was trying playing round with custom styles for a new panel and clicking preview, to see how it would look, I got the following message:
warning: Attempt to assign property of non-object in .../modules/panels-6.x-3.7/panels/plugins/style_bases/pane/pane_rounded_shadow/pane_rounded_shadow.inc on line 64.
I haven't touched the code there at all, and the worse thing is that now the entire panel does not show in the front page. The code referred to is:
Can somebody please help? I do not know how to fix this. I have just made all the critical modules-updates but can't get the site to go back to how it was.
Thanks.
Comment #2
jahmes8 commentedI just fixed that error message by filling in a missing empty "unique name" field in the database table related to the stylizer. I was saving a style and forgot to enter the machine name so the system could not locate it. I'm going to post this in the ctools queue:
http://drupal.org/node/1256924
James