Active
Project:
Conditional Rules
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
4 Jul 2013 at 14:17 UTC
Updated:
24 Apr 2018 at 16:30 UTC
Jump to comment: Most recent
In Commerce Kickstart 2.6 :
If you want to see the Payment Order :
FacesExtendableException: There is no method getElementName for this instance of the class RulesConditional. in FacesExtendable->__call() (line 133 of profiles/commerce_kickstart/modules/contrib/rules/includes/faces.inc).
Comments
Comment #1
fox_01 commentedIs there a solution for this problem?
Comment #2
fox_01 commentedDuplicate found here #1285856: FacesExtendableException : There is no method dependencies for this instance of the class RulesAction. There is a workarround described
Comment #3
santhosh.34@gmail.com commentedI recently upgraded to Drupal 7.5 and during upgrade observed the same issue.
There is no method getElementName for this instance of the class RulesConditional.
Comment #4
Collins405 commentedRunning into the same problem when trying to add a conditional rule to the "Delete Expired Carts" rule from Commerce_cart_expiration
Comment #5
vensires#1285856: FacesExtendableException : There is no method dependencies for this instance of the class RulesAction is under a "Cannot reproduce" state. This also happened to me with the Drupal Commerce and Conditional Rules modules (among others) in PHP 5.6. I don't believe the PHP version is the culprit here. I believe that the caller function is somehow related. This occured in Drupal Commerce a few versions back, and the following patch fixed it: https://www.drupal.org/files/issues/There-is-no-method-getElementName-fo....
Comment #6
rclemings commentedSee: https://www.drupal.org/project/rules/issues/1285856#comment-9132929
Though old, this comment pointed me to what turned out to be the problem.
I have a fairly simple Commerce 7.x-1.15 payment rule (sanitized version below). It allows two forms of payment, credit card and purchase order.
For one specific product, I wanted to disallow purchase orders. So I decided to wrap the the PO payment method in a conditional. I clicked the "add conditional" link under the "actions" section, and boom, WSOD, entire site down. I had to disable that rule from the database to get the site back up, and delete it from the database altogether to get /admin/config/workflow/rules to load.
I'll try to reproduce on a clean install when I have time but meanwhile maybe this is a useful clue.