I've installed Rules for newest Drupal7 core, and I got an error message:

ReflectionException: Function rules_core_action_execute() does not exist in ReflectionFunction->__construct() (line 1185 of /srv/www/staging/hit.hu/lepke/sites/all/modules/rules/rules/includes/rules.core.inc).
The website encountered an unexpected error. Please try again later.

The webpage cannot run anymore, I had to delete manually the Rules module (FTP, and phpmyadmin).

I've tried to reinstall it lot of time, and many ways.

Thank you!

Comments

szazo82’s picture

Component: Rules Core » Rules Engine

I tried again, and I think that the error in the views_bulk_operations module.

fago’s picture

Status: Active » Closed (fixed)

yep, I guess vbo needs to update its rules integration.

lpalgarvio’s picture

another one:

ReflectionException: Function rules_core_action_execute() does not exist in ReflectionFunction->__construct() (line 1231 of /drupal/sites/all/modules/apis/rules/rules/includes/rules.core.inc).

Neil_in_Chicago’s picture

Status: Closed (fixed) » Needs work

I had the same error adding modules to a new install (everything the latest). There are four varying reports of this bug.
See Please add faces to the module dependency list, December 2010.

fago’s picture

Status: Needs work » Closed (fixed)
Lee B’s picture

Why is this closed (fixed)? I'm still seeing the error, in 7.x-2.0-beta2, and Neil_in_Chicago reported that it WASN'T fixed in Dec.

Lee B’s picture

Scratch that; the problem seems to have been in the oauth or twitter modules; disabling them solves it.

gmak’s picture

Status: Closed (fixed) » Active

I've re-opened this, because I'm getting the error:

Error message

ReflectionException: Function rules_core_action_execute() does not exist in ReflectionFunction->__construct() (line 1387 of /home/domain/public_html/sites/all/modules/rules/includes/rules.core.inc).

I've tried with and without Twitter/Oauth installed, with no change.

fago’s picture

Category: bug » support
Priority: Critical » Normal

This is probably caused by another module having rules integration that needs to be updated. Try grepping for the the function name to find it.

kmdesign’s picture

@gmak, did you get this fixed. I'm dead in the water with the same error message. I've turned off every module in my install, and still no fix. Desperate for guidance. Thanks in advance.

tinarey’s picture

same problem here:
"ReflectionException: Function rules_core_action_execute() does not exist in ReflectionFunction->__construct()"
and have to manually de-install. Tried with both the stable and the dev version.

OAuth and Twitter are active but deactivating them is not an option for me. I've tried it on a daisy-fresh Drupal installation and activated the modules one by one: OAuth doesn't seem to be the problem, but as soon as I activate Twitter actions things go wrong. (Twitter Core, Post and Signup all work).

On the live website though this setup doesn't work either, the error still occurs even if I disable all twitter and OAuth modules.. (on the test page disabling Twitter actions was enough to restore the site).

How can I track down that bug?

fago’s picture

Status: Active » Fixed

Delete those modules module.rules.inc from this modules, or roll a patch to fix. They need to port their rules integration or it obviously won't work but break everything. Also file a bug in their issue queue.

garker’s picture

Priority: Normal » Major
tinarey’s picture

Priority: Major » Normal
Status: Fixed » Active

Thanks heaps, that did the trick!

fago’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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