Version: 3.4.2 Reporter: TJ Draper —
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
In 3.4.2 I have an addon making this model request:
$templateGroups = ee('Model')->get('TemplateGroup')
->with('Templates')
->order('group_order', 'ASC')
->all();
This throws an error:
Exception Caught
No such property: 'session' on EllisLab\ExpressionEngine\Legacy\Facade
Facade.php:107
If I remove ->with(‘Templates’) the exception goes away. I’ve spent some time making sure it’s not my bug, but as far as I can tell, this is a bug in the model somewhere getting Template Groups and related templates.
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); } ```