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

mariusooms’s picture

This 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

fago’s picture

Status: Active » Fixed

thanks, fixed.

amitaibu’s picture

oops, sorry about that :/

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

mitchell’s picture

Component: Code » Rules Core

Updated component.