Fatal error: Call to a member function pluginParameterInfo() on a non-object in [..]\sites\all\modules\rules\rules_i18n\rules_i18n.i18n.inc on line 73
This error apeared after upgrading to this and variable 7.x-2.0 It was quite difficult to because it did not appear each time a page or node was called. Sometimes you think it is gone but then it reappeared somewhere else. It would not allow to check for updates without error/breaking the script, nor run the update script. That is why I consider it critical.
I had to disable: rules translation to make it go away.
Call stack:
1 0.0005 675736 {main}( ) ..\index.php:0
2 0.5244 50226816 menu_execute_active_handler( ) ..\index.php:21
3 0.5568 53895312 drupal_deliver_page( ) ..\menu.inc:531
4 0.5568 53895720 drupal_deliver_html_page( ) ..\common.inc:2471
5 0.6580 55867648 drupal_page_footer( ) ..\common.inc:2587
6 0.6639 55869336 system_run_automated_cron( ) ..\common.inc:2614
7 0.6639 55869432 drupal_cron_run( ) ..\system.module:3502
8 23.8388 77018160 module_invoke( ) ..\common.inc:5145
9 23.8389 77018496 call_user_func_array ( ) ..\module.inc:799
10 23.8389 77018736 system_cron( ) ..\module.inc:0
11 23.8431 77023672 module_invoke_all( ) ..\system.module:3038
12 24.0508 73025424 call_user_func_array ( ) ..\module.inc:823
13 24.0508 73025664 entity_flush_caches( ) ..\module.inc:0
14 24.0590 72609576 entity_defaults_rebuild( ) ..\entity.module:843
15 24.0617 72769544 _entity_defaults_rebuild( ) ..\entity.module:637
16 24.3408 74460808 module_invoke_all( ) ..\entity.module:727
17 24.3415 74465088 call_user_func_array ( ) ..\module.inc:823
18 24.3415 74465496 rules_i18n_rules_config_defaults_rebuild( ) ..\module.inc:0
19 24.3415 74466992 rules_i18n_rules_config_update( ) ..\rules_i18n.module:128
20 24.3416 74468368 i18n_string_object_wrapper->get_strings( ) ..\rules_i18n.module:94
21 24.3416 74468888 i18n_string_object_wrapper->get_properties( ) ..\i18n_string.inc:1062
22 24.3416 74468888 RulesI18nStringObjectWrapper->build_properties( ) ..\i18n_string.inc:1090
23 24.6453 79659880 RulesI18nStringObjectWrapper->buildElementProperties( ) ..\rules_i18n.i18n.inc:58
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | wrong-call-to-stringobjectwrapper-1651132-11.patch | 763 bytes | stborchert |
Comments
Comment #1
cronix commentedSame here. Very critical. But is this i18n or Rules?
Comment #2
maxilein commentedIt is listed as part of Multilingual - Internationalization under modules. So i figure that is i18n then.
Comment #3
Valance commentedI have the same error, when i went to clear the cache.
What do i do with the entire "call stack"? I've got no idea what to do with this...?
Comment #4
maxilein commentedCall stack helps the developers to identify a problem. In my case the solution was to disable that module.
Comment #5
stefanpetrov commentedsame here, had to disable the module...
Comment #6
lilbebel commentedI'm having the same fatal error warning. What should I do?
Comment #7
lilbebel commentedI have also disabled the module in order to get the error to go away.
Comment #8
darioplaza commentedHi. Same error.
Post this comment that let me to get feedback of posible solutions.
Thks!
Comment #9
7wonders commented@darioplaza - you can click the follow button in the top right if you want to follow an issue.
But while im at it, I also have this issue and the only option is to disable the module which renders my rules with i18n useless.
Comment #10
darioplaza commentedOk, thanks 7wonders. I'll do it that way.
Comment #11
stborchertHi.
Changing project to rules since the error is located in rules_i18n.module.
The constructor of
i18n_object_wrapperhas changed (3 parameters) so the creation of RulesI18nStringObjectWrapper() has to be updated.Comment #12
stborchertChanging status to "needs review".
Comment #13
7wonders commentedFrom the few tests I have quickly made, patch in #11 seems good. I will update if I run into anything.
Comment #14
socialnicheguru commentedInstalled module and error went away
Comment #15
wgsimon commentedThis patch looks like it works for me too.
Comment #16
mitchell commentedComment #17
mitchell commentedMarked #1677276: CALL TO A MEMBER FUNCTION PLUGINPARAMETERINFO() ON A NON-OBJECT as a duplicate of this issue.
Comment #18
klausiGrml, so that was an i18n API change...
Committed, thanks!
Comment #19
tarazingo commentedThanx stBorchert , patch #11 work fo me
Comment #21
aletasso commentedI have the same error, but with the module "rules-7.x-2.2" which is already updated the patch "wrong-call-to-stringobjectwrapper-1651132-11.patch".
From already thank you very much for your help!
Comment #22
PatchRanger commented@module maintainers Please request branch retesting since testbot stuck on the same error.
See http://qa.drupal.org/pifr/test/27274 for more information.
Closed #1797576: Fix simpletest tests as a duplicate of this one.
Comment #23
mitchell commented@comments after #18: Please let fixed issues be.
If an issue needs follow-up attention, then let's address it in a new issue.
Comment #24
xiukun.zhou commentedi am use rules-7.x-2.x-dev and apply patch #11, but when clear cached there are some errors
Comment #25
das-peter commentedIssue status fix.