I'm currently running ExpressionEngine v2.10.1. Two plugins currently throw the same error. Seems like something has been depreciated / is broken. The two plugins are:

  • Campaigner 4.5.0
  • Charge 1.9.2

    Fatal error: Call to undefined method EE_Javascript::generate_json() in /system/expressionengine/third_party/campaigner/ext.campaigner.php on line 706

Any suggestions would be welcome.

1 Answer 1


Go to line 706 in /system/expressionengine/third_party/campaigner/ext.campaigner.php and change it from:




And yes, this line needs double parentheses at the end, since it's a continuation of line 705.

  • Awesome! I appreciate your help!
    – Franz
    Commented May 28, 2015 at 13:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.