Version: 3.5.11 Reporter: Derek Jones —
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
Somewhat peculiar circumstances, but if you:
Fatal error: Call to a member function getHTMLButtonsForSite() on null in system/ee/EllisLab/Addons/textarea/ft.textarea.php on line 54
Note that no error is thrown if you are using the {custom_fields}{/custom_fields}
tag pair, which is the only way to reach {formatting_buttons}
anyway.
On line 54 of system/ee/EllisLab/Addons/textarea/ft.textarea.php
change:
$buttons = $member->getHTMLButtonsForSite(ee()->config->item('site_id'));
to:
if ($member)
{
$buttons = $member->getHTMLButtonsForSite(ee()->config->item('site_id'));
}
else
{
$buttons = ee('Model')->get('HTMLButton')
->filter('site_id', ee()->config->item('site_id'))
->filter('member_id', 0)
->order('tag_order')
->all();
}
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); } ```