Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 May 2009 at 14:13 UTC
Updated:
23 Jan 2012 at 14:28 UTC
This fatal error ocurrs when I open up a view which is locked
There is text saying "break lock"
The previous view that I can still edit has been updated
I click on "break lock" in second browser and I get the above error.
I marked it critical because it is a fatal error/wsod. Please make a more appropriate choice if needed
Comments
Comment #1
merlinofchaos commentedI am unable to duplicate this.
Comment #2
esmerel commentedNo update for more than 30 days.
Comment #3
ealtman commentedI just experienced this for the first time today, when I was editing a view in Internet Explorer 8. Here was the sequence:
1. The view came up as "locked" -- it was being edited by my assistant who was also logged in a user-1 (in Firefox). He saved and closed to release the lock (he verified that he has no other windows open to that view).
2. I reloaded the view-edit and still got a "locked" notice, so I clicked "Break Lock."
3. I started editing the view, and a couple of times the page seemed to go blank. The form was a bit screwed up -- I think I was adding a Taxonomy: Term filter, and it loaded both the first and the second option forms simultaneously. At that point, the page was loading so slowly, I assumed it was some weird IE thing, and saved, closed and logged out.
4. I checked the error logs and found the message.
5. I opted to edit the view in Firefox 3. When I opened it for editing, the "locked" notice had reappeared, only this time it said it was being edited by Anonymous. This was impossible -- first, the dev server is behind a firewall, and second, I checked the user logs, and there was no recent activity for the Anonymous user. I broke the lock, and edited with no further error or problems.
I'm wondering if it's an IE problem with AJAX ?
Comment #4
merlinofchaos commentedInteresting. Ok, I believe it showed that the view was locked by anonymous because the session record was gone. That should be relatively harmless, but it gives me something to test with.
Comment #5
merlinofchaos commentedWell. I can get the lock to go anonymous, and I definitely need to figure out a way to clean up locks that don't have session records, as that is dead data.
But I still can't duplicate an actual error happening in this case.
Comment #6
xpersonas commentedI get this error too. It's only when I'm on the Views admin screen listing all of my views and I try to sort by any of the built-in exposed filters.
Fatal error: Cannot unset string offsets in /drupal/modules/acquia/views/includes/admin.inc on line 66
I'm not getting it at a critical time as the first user may have. I haven't been able to sort my listing of views for months though. Even after going through various upgrades.
Comment #7
robbycandra commentedI used portable uniform server and editing my web locally at my portable hard drive.
Few days ago, I was editing views and login as user-1. And this morning i use different PC and continue to edit my views as user-1. But i have a message:
I also cannot save my edit on content type.
I don't know how to solve this.
Comment #8
merlinofchaos commented#6 is unrelated to the error (this is about breaking locks).
I can't reproduce the error with session records disappearing. I tried deleting session records and the locks go away as they are supposed to.
#7: That message tells you to click here. Did you? If you did, you failed to tell us why that didn't work.
Comment #9
esmerel commentedUnable to replicate, no updates for more than 30 days.
Comment #10
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!
Comment #11
prem kumar k commentedI have problem with view. i edit view through that Fatal error: Call to a member function validate() on a non-object in C:\wamp\www\test1\sites\all\modules\views\includes\admin.inc on line 920
Do u have any solution