Whenever I run a drush command when I have the rules_i18n moduled enabled, I get the following fatal error...

PHP Fatal error: Call to undefined method stdClass::pluginParameterInfo() in /.../rules_i18n/rules_i18n.i18n.inc on line 73

Comments

rtdean93’s picture

Title: Rules_i18n and PHP Fatal error in Drush » Call to undefined method stdClass::pluginParameterInfo()

bump...

Whenever I run a drush command when I have the rules_i18n moduled enabled, I get the following fatal error...

PHP Fatal error: Call to undefined method stdClass::pluginParameterInfo() in /.../rules_i18n/rules_i18n.i18n.inc on line 73

Can anyone shed light on this?

mitchell’s picture

Component: Feature module support » Provided Module Integrations

Updated component.

mitchell’s picture

Title: Call to undefined method stdClass::pluginParameterInfo() » Rules_i18n and Drush causes php error
rtdean93’s picture

I found my problem. it was a malformed custom rule in a custom module. Even thought the rule was not enabled, it was still conflicting with the translation moduled. Once I deleted the unused custom rule from the module - this error went away. Found the needle in the haystack.

chrisjlee’s picture

Status: Active » Closed (fixed)
maxilein’s picture

You saved my day!! Thank you for posting this!!

kunalgautam’s picture

Component: Provided Module Integrations » Rules Core
Issue summary: View changes

I have same issue please tell me how it will be resolve

maxilein’s picture

Goto your rules admin section. The conflicting rules will have a remark in red letters.

vishal.sirsodiya’s picture

I am facing same issue, When I clear cache then getting that issue, also I have disable all rules.

Error: Call to undefined method stdClass::pluginParameterInfo() in RulesI18nStringObjectWrapper->buildElementProperties() (line 73 of ./profiles/opigno_lms/modules/contrib/rules/rules_i18n/rules_i18n.i18n.inc).