4

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

7

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

$this->EE->javascript->generate_json($js_member_fields));

to:

json_encode($js_member_fields));

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

1
  • Awesome! I appreciate your help! 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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.