Closed (fixed)
Project:
Rules
Version:
6.x-1.x-dev
Component:
Rules Core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Aug 2008 at 08:19 UTC
Updated:
26 May 2012 at 16:40 UTC
Hi, with the latest dev I get the following fatal error when hitting submit on registering a new user:
Fatal error: Call to undefined function node_object_prepare() in /home/.author/account/www.mysite.com/modules/rules/rules/modules/node.rules.inc on line 224
I run three rules which are all the same. Which are to create content when a user registers. The module worked fine under a previous dev, not sure which one as I update it very regularly.
I hope this helps...
Regards,
Marius
Comments
Comment #1
mariusooms commentedThis line seemed to be the culprit on line 221 of node.rules.inc:
module_load_include('inc', 'node', 'node.pages.inc');
Changing it back to the line from the Alpha2 release made it work again:
include_once drupal_get_path('module', 'node'). '/node.pages.inc';
I'm sure you changed it to module_load_include for a reason though. Anyway...just trying to help out by reporting my experiences.
Regards,
Marius
Comment #2
fagothanks, fixed.
Comment #3
amitaibuoops, sorry about that :/
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
mitchell commentedUpdated component.