Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Elin Yordanov’s picture

I am also getting the same errors.

newtoid’s picture

+1

This issue persists, I rolled back to version 2.3 and it cleared.

wipeout_dude’s picture

Seems there aren't too many having the issue with rules 2.5 so maybe it relates to another module..

So currently on my site I have enabled..

Conditional Rules 7.x-1.0-beta2
Rules 7.x-2.3
Rules Link 7.x-1.0-beta4
Rules Scheduler 7.x-2.3
Rules UI 7.x-2.3

Which are common to all of us?

jraviotta’s picture

Same error for me too. Following...

wipeout_dude’s picture

Anyone solved this or have any ideas?

markusa’s picture

+1 After upgrade to version 2.5 my "node of of type" conditions fail and report this error

markusa’s picture

I found resolution for this issue in my case.

I had several rules which had a condition checking for the type of a node....I switched to checking for "Entity is of bundle" and the rule started to work....Not sure if checking node type is broken in Rules 2.5 or if its just not available anymore...

noslokire’s picture

Interesting, I am going to give this swap to bundle is of type a try and see if the issues persist.

*Update - No dice, was hoping this was the silver bullet but the issues described above persist.

jraviotta’s picture

I get the same problem for all rules using condition "Content is of type". When I delete that condition and substitute "entity is of bundle" the rule passes again.

However, I still get the error when using the condition "content is published."

fago’s picture

Which environment are you guys using? For me the condition works just fine.

Elin Yordanov’s picture

I was using PHP 5.4 at the time I have confirmed the issue.

I am currently trying to build a new setup with multiple PHP versions (5.5 and 5.3). I didn't have the time to test it on my new development setup. As soon as I install everything, I'll report it back.

wipeout_dude’s picture

Ok, so here is an odd one..

I setup a dev VM and copied the live site to it.. I used drush to upgrade rules and got the output below..

To my surprise there was no error showing on the rules configuration page.. So I took a snapshot of the live server, upgraded rules and got the same output.. Went to the rules configuration page and the error was there..

Both servers are running PHP 5.4.21..

The difference is that the dev server is running generic Apache + Mod_PHP while the live server is running nginx + PHP-FPM..

Anyone else showing the issue running either nginx or PHP-FPM (likely to be both if using nginx)??

I have rolled back the live server because I don't have time this evening to edit every rule (over 50 of them) to "Bundle is of type" or to change the main event trigger to be a specific content type eg. "After updating existing content" to "After updating existing content of type basic page".. I haven't done much testing but it seems that either of these changes solves the problem.. I am guessing updating the event trigger to be content type specific is probably the more correct way to do it??

Project rules was updated successfully. Installed version is now 7.x-2.6.
Backups were saved into the directory /root/drush-backups/dev_site/20131112185146/modules/rules.                                                        [ok]
 Rules            7210  Deletes the unused rules_empty_sets variable.
 Rules            7211  Creates the "owner" column.
 Rules            7212  Make sure registry gets rebuilt to avoid upgrade troubles.
 Rules            7213  Recover the "owner" property for broken configurations.
 Rules_scheduler  7203  Add a database column for specifying a queue item handler.
 Rules_scheduler  7204  Rename rules_scheduler.state into rules_scheduler.data.
Do you wish to run all pending updates? (y/n): y
Performed update: rules_update_7210                                                                                                                          [ok]
Performed update: rules_update_7211                                                                                                                          [ok]
Performed update: rules_scheduler_update_7203                                                                                                                [ok]
Performed update: rules_update_7212                                                                                                                          [ok]
Performed update: rules_scheduler_update_7204                                                                                                                [ok]
Performed update: rules_update_7213                                                                                                                          [ok]
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_condition_node_is_of_type_assertions' not found or invalid function name  [warning]
faces.inc:123
'all' cache was cleared in n5k-dev                                                                                                                           [success]
Finished performing updates.
_paul_meta’s picture

I'm experiencing this issue too .. its broken all my content creation rules !

Currently using 7.2.6 but I also saw this issue with 7.2.5

Any rule with condition "Content is of type" shows this error on the rules page - "Error: Missing required module 0."

Also seeing this error when clearing site caches .. Notice: Undefined property: stdClass::$plugin in RulesEntityController->save() (line 160 of /home/...../sites/all/modules/rules/includes/rules.core.inc).

I tried rolling back to 7.2.3 but found more errors, clearing the site cache failed with a PDO database error.

So I'm back with 7.2.6 .. and hoping for a fix. Anyone else in this situation ?

I'm on an apache server, running php 5.3

Thanks,

Paul

_paul_meta’s picture

Priority: Normal » Major
Issue summary: View changes
Andrés Chandía’s picture

Same Issue round here, I solved following #9 posted by jraviotta

Im on:

Drupal 7.24

PHP 5.5.3-1ubuntu2

Web server Apache/2.4.6 (Ubuntu)

DataBase system MySQL,
DataBase system version 5.5.34-0ubuntu0.13.10.1

Andrés Chandía’s picture

Weird thing, I have 2 drupal sites on the same server, sharing the modules location, at the other one I don't have this problem, so seems to be related to enabled modules, but I can not say which module could be the responsible, at the working site I have next modules disabled, those are enabled at the non working site:
Aggregator
Localization client (I would suspect of this one)
OpenID
Pretty Calendar

wipeout_dude’s picture

In addition to my post #12 another difference between my live and dev site is..

Modules enabled on live site but disabled on dev site
Google Analytics
Secure Pages

Modules disabled on live site but enabled on dev site
Maillog

Anyone using or not using these on server with the error?

ponies’s picture

Same as #9. Content is published is still Missing required module 0.

Drupal 7.21
PHP 5.3.3
Apache/2.2.15 (Unix)

tien.xuan.vo’s picture

Version: 7.x-2.5 » 7.x-2.6
Assigned: Unassigned » tien.xuan.vo
Category: Support request » Bug report
Status: Active » Needs review
FileSize
674 bytes

I debugged and find out one solution in my case:

Drupal 7.24
Rules 2.6 with fluxservice

The problem is fluxservice return rule action info with the key 'module' is set to 'false'. So that we need to check 'not empty' insteads of 'isset'.

jhedstrom’s picture

Status: Needs review » Reviewed & tested by the community

Patch in #19 resolves this error.

fago’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, committed.

Status: Fixed » Closed (fixed)

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

aludescher’s picture

Rerolled patch #19 for 7.x-2.5 - useful when updating from lower versions.