Added a custom category TEXT field.
Went to edit it and got an error in the modal:
Notice Undefined variable: field ee/EllisLab/ExpressionEngine/Controller/Categories/Fields.php, line 121
Severity: E_NOTICE
Fatal error: Call to a member function getCompatibleFieldtypes() on null in /home/[redacted]/public_html/system/ee/EllisLab/ExpressionEngine/Controller/Categories/Fields.php on line 121
In system/ee/EllisLab/ExpressionEngine/Controller/Categories/Fields.php around line 120:
$fieldtype_choices = array_intersect_key($fieldtype_choices, $field->getCompatibleFieldtypes());
change to
$fieldtype_choices = array_intersect_key($fieldtype_choices, $cat_field->getCompatibleFieldtypes());
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); } ```