Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2009 at 16:41 UTC
Updated:
13 Mar 2009 at 10:40 UTC
After implementing the last 6.2.x-dev version of the module, when i try to administrate the blocks, i get this message:
Fatal error: view::destroy() [view.destroy]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "views_plugin_display_default" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in C:\wamp\www\afterfoot\sites\all\modules\views\includes\view.inc on line 1459
Comments
Comment #1
merlinofchaos commentedhttp://drupal.org/node/366782 was marked a dup of this issue.
Fix committed. Thanks!
Comment #2
Flying Drupalist commentedI'm on the latest dev, and I'm getting something similar on the backup and migrate module:
Fatal error: view::destroy() [view.destroy]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "views_plugin_display_default" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /home/webadmin/html/sites/all/modules/views/includes/view.inc on line 1460
Comment #3
Flying Drupalist commentedThis is also on the update.php page.
Comment #4
merlinofchaos commentedTo everyone who is still getting this: Please flush your cache and see if you're still getting this issue.
Comment #5
roborn commentedUsing the last dev snapshot and everything is ok. :)
Comment #6
kenorb commentedThanks, but I've tried lastest snapshot and in my case the problem is there.
Tested on anonymous.
Comment #7
merlinofchaos commentedHmmmm. That's very interesting. Silly Panels. That helps a lot, though. Thanks for that info.
Comment #8
zoia commentedAfter updating views i realized that I have no access to blocks administration page any more. I get this instead
Fatal error: view::destroy() [function.view-destroy]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "views_plugin_display_default" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /users/pel/1dim-giann/1dimgian/public_html/modules/views/includes/view.inc on line 1460
Any suggestion? I didnt understood whats the fix .
Comment #9
zoia commentedOk it solved after running the update of database . I would appreciate if someone could explain how to flush the cache *(suggested above)
Thanks
Comment #10
merlinofchaos commentedvisit admin/build/views/tools -- but not having already run update.php is your own fault.
Also, who set this to patch (code needs work). If you don't understand what the settings mean, please don't mess with them. :/
Comment #11
zoia commentedYes it was my fault -:) that I realized after writting the post. I have a lot of reading especially for views that i am not using all its features yet. I won't mess - Thank you !!
Comment #12
merlinofchaos commentedAll other reports I have are that this is fixed after a cache flush.
Comment #13
AlexisWilke commentedJust a note...
I had to run the update.php
My cache is turned off anyway.