Updating to the Sept 9 version, I have suddenly lost access to admin/content
No content link is shown on the administration toolbar, and when I try to access admin/content, I get a "Access Denied: You are not authorized to access this page" error.
I am logged in as user/1.
Any ideas?
Cynthia
Comments
Comment #1
Cynthia Ewer commentedAdding that switching to the current dev version does not fix the issue.
I'm just an end user, but this error message might be helpful. From the logs:
Notice: Trying to get property of non-object in user_access() (line 820 of /home/XXX/www/html/modules/user/user.module).
And finally, I created a test user with site administration permissions; receives the same error.
Thanks for any help you can give me; I loved this module while it worked.
Comment #2
tdurocher commentedSame thing with me since the upgrade. And same error in the logs. But for me, at least, it is only two views: admin/content and admin/people. They also disappeared from the admin menu. Previewing the views doesn't give the same error but there are fields I never put there and most of the fields I put there are empty.
I've cleared Views cache and all Caches.
Changing status to Major. My site is severely degraded without these views.
Comment #3
tdurocher commentedBy the way, if you just disable the admin views that are giving you trouble, the built-in pages at those urls will take over.
Comment #4
damiankloip commentedDuplicate of #1780004: Trying to get property of non-object in user_access() with 2 admin views on the same path. You need to revert your views if you are upgrading from the alpha to the 1.0 release
Comment #5
damiankloip commentedComment #6
tdurocher commentedThis is a duplicate of #1780004. There is some more information there. Ultimately for me, upgrading to the latest Views version fixed my problems.
Comment #7
giorgio79 commented#1780004: Trying to get property of non-object in user_access() with 2 admin views on the same path
Comment #8
tswaters commentedI updated from a really old version of admin_views and encountered this issue myself. After digging around I found #1780004: Trying to get property of non-object in user_access() with 2 admin views on the same path, comment #6 which basically says the old admin views are in the database and are conflicting with the new views.... The resolution is to disable or simply delete the old views... I was able to do this with the following datafix :
DELETE vv.*, vd.* FROM views_view vv, views_display vd WHERE vv.vid=vd.vid AND vv.name in('admin_content_node', 'admin_user_user', 'admin_content_comment');