Version: 2.1.3 Reporter: Chris Newton —
This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report
When calling the redirect function from a 3rd party addon, I get the following error:
PHP Fatal error: Call to a member function generate_json() on a non-object in /mnt/path/to/site/system/expressionengine/libraries/Functions.php on line 374
This is similar to another bug_tracker item here: https://support.ellislab.com/bugs/detail/13846/
I’d guess that this can be fixed by explicitly loading the javascript library within the Functions class. I’m having trouble reproducing the error though, so I’m not sure. I’ve seen it in my logs at least 50 times though, and some other CartThrob customers have seen it as well.
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```