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

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

I am unable to duplicate this.

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No update for more than 30 days.

ealtman’s picture

Status: Closed (fixed) » Active

I 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 ?

merlinofchaos’s picture

Interesting. 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.

merlinofchaos’s picture

Well. 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.

xpersonas’s picture

I 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.

robbycandra’s picture

I 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:

"This view is being edited by user admin (* that's user-1), and is therefore locked from editing by others. This lock is 4 days 3 hours old. Click here to break this lock. "

I also cannot save my edit on content type.

I don't know how to solve this.

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

#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.

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Unable to replicate, no updates for more than 30 days.

drupal10’s picture

Same 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!

prem kumar k’s picture

Title: Views Break Lock: Fatal error: Cannot unset string offsets in drupal/includes/form.inc on line » Views Break Lock: Fatal error: Cannot unset string offsets in drupal/includes/admin.inc on line 920

I 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