Exceptionally odd behavior that I've never experienced before. First I was locked out of editing my own view. Then when I chose to break the lock, it sent me to edit a different view. Then I manually truncated the views_object_cache. Then when I tried to save I get this message:
Fatal error: Call to a member function validate() on a non-object in /home/***/public_html/sites/all/modules/views/includes/admin.inc on line 895
array(4) { ["type"]=> int(1) ["message"]=> string(52) "Call to a member function validate() on a non-object" ["file"]=> string(69) "/home/****/public_html/sites/all/modules/views/includes/admin.inc" ["line"]=> int(895) } n/a
I'm out of my league here. Definitely need some help from the Wizard or his helpers. Thanks.
Comments
Comment #1
dawehnerDoes http://drupal.org/files/issues/views-585886.patch helps you?
Comment #2
nsyll commentedpatch doesn't work for me
Comment #3
ronline commentedThe same for me.
Views are locked by a 2 days 2 hours old lock.
I’ve closed and restarted all browser the lock is till showing up.
Over all when I try to save the page I’m getting mentioned error about /admin.inc on line 895.
Patch isn’t working either.
Comment #4
esmerel commentedAnyone want to try attaching a view, giving steps on how they got this to occur? Did you sit for a while and views decided your session expired or something? More details would be really helpful here.
Comment #5
markpenny commentedI had the same warning when trying to save views and displays. Then I disabled Forms and Forms test. Views worked.
Comment #6
ronline commentedI've fixed problem with sql request
DELETE FROM `views_object_cache` WHERE name = "view_name"
Comment #7
esmerel commentedUnable to replicate.
Comment #8
drupal10 commentedSame issue here. When I click and confirm to break the lock (I should mention that I am the use that has the view locked) it redirects to a page not found. Then when I go back to the view to edit it, it's still locked. This happens on both PC and Mac, in both IE, Firefox, Safari and Chrome.
Then if I edit the view anyhow (even though it says it cannot be saved since it's locked I get this error:
Fatal error: Call to a member function validate() on a non-object in www/sites/all/modules/views/includes/admin.inc on line 910
So therefore the view cannot be edited at all until this is resolved. Please look into it asap.
Thanks so much!