Closed (fixed)
Project:
D7 Media
Version:
7.x-1.0-beta5
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2010 at 20:36 UTC
Updated:
26 Jul 2011 at 07:17 UTC
I'm getting a Fatal error message when trying to access the media content from
admin - content - media tab.
I'm using the latest version of Drupal core, and the latest version of Media, as of today.
Any help would be appreciated. Or if you need any more info let me know.
Comments
Comment #1
davebv commentedI am having the same problem. The only way to recover drupal was to disable the media module.
The error is:
Cannot access empty property in field/field.attach.inc on line 661
To reproduce the error what I did is install media module (and dependencies). Add a media field in article content type. Go to "content->media" and press the thumbnail viewer.
After these steps the drupal instalation is broken. The only solution has been to disable media module.
I hope this helps to locate the problem.
Thanks for your work!
PS: I change it to critical because with this issue not only the media module is not usable, but the entire drupal installation.
Comment #2
gandhi commentedHi,
i have an other fatal error. Here is the message:
Fatal error: Call to undefined function admin_menu_suppress() in /usr/www/users/xxx/drupal7/sites/all/modules/media/media.module on line 407
I become the message when i try to access:
admin - content - media tab - add file
Comment #3
Scott J commentedDrupal 7 Beta 2
Fatal error: Cannot access empty property in /path.../drupal-7/modules/field/field.attach.inc on line 661
Comment #4
JacobSingh commentedI don't think Media currently works with Drupal BETA 2.
Dave B, which core version are you working with?
Comment #5
davebv commentedI am using 7.x-dev from yesterday (25.oct)
Comment #6
Taxoman commentedThis is also happening on D7-beta1.
Comment #7
mrfelton commentedSame issue here - beta2 of both drupal and media
Comment #8
adam_b commentedMe too.
I'm not sure if it's relevant, but I'm also getting:
Using beta2 core and beta1 media.
Comment #9
liakoni commentedSame issue here
Drupal 7 Beta 2
Fatal error: Cannot access empty property in /path.../drupal-7/modules/field/field.attach.inc on line 661
and
Notice: Undefined index: field_name in field_attach_load() (line 657 of /[filepath]/modules/field/field.attach.inc).
Notice: Undefined index: field_id in field_attach_load() (line 658 of /[filepath]/modules/field/field.attach.inc).
Comment #10
JacobSingh commentedI'm not able to reproduce this with current HEAD of media and BETA2. :(
I'll keep trying, but if anyone feels like debugging a bit, it might help.
Comment #11
Scott J commentedNo problem for me now with latest media 7 dev on Drupal7 dev.
Comment #12
a_webb commentedI get this error -- seems directly related to this forum -- every time i try to install media -- and i have tried to install every one of them for d7 except for the one that specifically says "do not use"
FieldException: Attempt to create an instance of field file on bundle default that already has an instance of that field. in field_create_instance() (line 683 of /var/www/drupal/modules/field/field.crud.inc).
i have to disable to get drupal to work...
fyi I really, really, really want to use rotating banner!
Thanks all--
im using drupal 7 beta 3
Comment #13
JacobSingh commentedRead the project page please, especially the part that says "READ THIS"
Comment #14
a_webb commentedOK, I feel smarter by the day : )
I will await 7-beta 3 and will once again thank the developers of this "media module suite" for their hard work and patience.
Comment #16
xamanu commentedI had this error, but after updating to latest drupal dev and media dev version it is fixed. thanx
Comment #18
nils.destoop commentedReopening this: see latest comments on #1028230: Fatal error: Cannot access empty property in field.attach.inc
Comment #19
nils.destoop commentedIssue from core moved to media queue. So this is duplicate now. See #1015580: Media entities : Cannot access empty property in field.attach.inc line 677
Comment #20
prabirchoudhury commentedHello JacobSHingh
I have follow through the Installation file from the media module and have installed all the modules and API to make the media gallery work but it is giving the sale error
Fatal error: Cannot access empty property in /home/www/creative/hw.creativecomms.co.nz/public/modules/field/field.attach.inc on line 199
please give some proper solutions for that
I am using drupal7
thanks in advanced
Comment #21
alanburke commentedPlease open a new issue with your support request.
This issue is fixed & closed.