Closed (cannot reproduce)
Project:
Protected Node
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2012 at 20:02 UTC
Updated:
15 May 2013 at 08:20 UTC
I am receiving this error for anonymous users when I give them permissions to access password protected nodes.
Notice: Undefined index: #entity_type in _eva_extract_entity_from_build() (line 152 of /home/test/public_html/sites/all/modules/eva/eva.module).
Notice: Undefined index: #entity_type in _eva_extract_entity_from_build() (line 157 of /home/test/public_html/sites/all/modules/eva/eva.module).
Notice: Undefined index: #entity_type in _eva_extract_entity_from_build() (line 160 of /home/test/public_html/sites/all/modules/eva/eva.module).
EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7501 of /home/test/public_html/includes/common.inc).
It completely breaks the site when permissions are set for anonymous users, authenticated users can still browse the site if they are logged in.
Comments
Comment #1
jsheffers commentedAny ideas on this? This module is not usable without it at least for D7...
Comment #2
zilverdistel commentedHi jsheffers,
The Notices are related to http://drupal.org/project/eva. Did you allready create an issue in their issue queue?
Can you define the steps I need to do starting from a clean drupal install to reproduce this behavior?
Resetting the priority to major, since there seems to be no risk for data loss.
Thanks,
Diederik
Comment #3
amonteroI can confirm it's an EVA issue, since I'm getting the same error and I don't have Protected Node installed in my site.
Comment #4
idflood commentedI tried to reproduce this issue just in case but didn't succeeded. I enabled the "view protected content" permission on anonymous users and tried to access some protected pages, no errors : )
Comment #5
idflood commentedPossible related issue at #1298864: Error while viewing nodes with field collections when eva module enabled
If this is correct, simply updating eva module to latest dev version should be enough to fix this.
Comment #6
jlsevillano commentedI have the same problem. I think the problem is EVA+Protected node. With admin user, i haven't the notice, but with another user appers.
•Notice: Undefined index: #entity_type in _eva_extract_entity_from_build() (line 202 of /data/www/ecreee_dev/sites/all/modules/eva/eva.module).
•Notice: Undefined index: #entity_type in _eva_extract_entity_from_build() (line 207 of /data/www/ecreee_dev/sites/all/modules/eva/eva.module).
•Notice: Undefined index: #entity_type in _eva_extract_entity_from_build() (line 210 of /data/www/ecreee_dev/sites/all/modules/eva/eva.module).
* Lines aren't the same, because i put some comment code.
Somebody knows o find any solution?
Comment #7
steveoriolSame problem on each cron... it is blocking the search indexing.
when I disable "Protected node" it is working normally.
No solution at the moment ?