Problem/Motivation
Installed Site Notes
- new D7.20 site installed from source (not cPanel installer), on a shared hosting account at HostGator.com
- Fusion core + new Fusion subtheme using Fusion subtheme template
Added a few notes; then the following error began showing in log:
- Location https://domain_name/home/admin/config/system/cron
- Referrer https://domain_name/home/admin/config/system/cron
- Message EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7633 of /home/user/public_html/home/includes/common.inc).
- Severity error
And log notices:
- Message Notice: Undefined property: stdClass::$nid in node_build_content() (line 1366 of /home/user/public_html/home/modules/node/node.module).
- Severity notice
- Message Notice: Undefined property: stdClass::$type in _node_extract_type() (line 371 of /home/user/public_html/home/modules/node/node.module).
- Severity notice
- Message Notice: Trying to get property of non-object in _node_index_node() (line 2680 of /home/user/public_html/home/modules/node/node.module).
- Severity notice
Review of modules installed before & after error appeared, pointed to Site Notes as source or trigger.
- created new content type Site Dev Notes
- created new Site Dev Notes items and transferred content from Site Notes module's "site notes" to new content type items; and deleted all of Site Notes' items
- cleared Caches, ran cron and error was gone
- uninstalled site notes module
Then new alert appeared in log
- Location https://domain_name/home/node/7/log?severity=0
- Referrer https://domain_name/home/admin/reports/event/2633
- Message Missing text format: 1.
Then I:
- Removed Content Type 'Site Notes"
- Cleared all caches
- Tested by adding new Site Dev Notes
- Cleared all caches
- Ran Cron
- Rechecked log
- All of the aforementioned log items (error, alerts and notices) seem to be cleared/not repeating as they had been, at this time.
Proposed resolution
None- FYI
Site Notes is a great idea (thank you!); and for my purposes, simply adding a new content type to track such notes without the additional Site Notes module is a good solution.
My information is simply an FYI, in case it is helpful information.
Remaining tasks
(reviews needed, tests to be written or run, documentation to be written, etc.)
User interface changes
(new or changed features/functionality in the user interface, modules added or removed, changes to URL paths, changes to user interface text)
API changes
(API changes/additions that would affect module, install profile, and theme developers, including examples of before/after code if appropriate)
Original report by [username]
// Text of original report here.
(for legacy issues whose initial post was not the issue summary)
Comments
Comment #1
johnhorning commentedI'm getting the same error message in the log and also see these error messages when I run cron:
Notice: Trying to get property of non-object in _node_index_node() (line 2787 of /home2/rivulcom/drupal-7.22/modules/node/node.module).
Notice: Undefined property: stdClass::$type in _node_extract_type() (line 385 of /home2/rivulcom/drupal-7.22/modules/node/node.module).
Notice: Undefined property: stdClass::$nid in node_build_content() (line 1425 of /home2/rivulcom/drupal-7.22/modules/node/node.module).
This is on new drupal install and no content other than a site note. The errors go away when I delete the site note.
Comment #2
nancydruWhen I was working on #2277151: Invalid access argument, I saw this happen. After I fixed that one, this problem seemed to be gone.
Comment #3
nancydruNo recent update.