Version: 4.0.6 Reporter: bobural —
I had some previously added channels (channel ID has reached 66)
Steps to reproduce: - add some channels (2-3); - add some info to them; - delete everything; - add more channels.
When I reach 6 channels I get the following error:
Fatal error: Uncaught TypeError: Argument 1 passed to EllisLab\ExpressionEngine\Model\Channel\Channel::duplicatePreferences() must be an instance of EllisLab\ExpressionEngine\Model\Channel\Channel, null given, called in /var/www/am-ma.ro/system/ee/EllisLab/ExpressionEngine/Controller/Channels/Channels.php on line 1428 and defined in /var/www/am-ma.ro/system/ee/EllisLab/ExpressionEngine/Model/Channel/Channel.php:292 Stack trace: #0 /var/www/am-ma.ro/system/ee/EllisLab/ExpressionEngine/Controller/Channels/Channels.php(1428): EllisLab\ExpressionEngine\Model\Channel\Channel->duplicatePreferences(NULL) #1 /var/www/am-ma.ro/system/ee/EllisLab/ExpressionEngine/Controller/Channels/Channels.php(255): EllisLab\ExpressionEngine\Controller\Channels\Channels->saveChannel(Object(EllisLab\ExpressionEngine\Model\Channel\Channel)) #2 /var/www/am-ma.ro/system/ee/EllisLab/ExpressionEngine/Controller/Channels/Channels.php(170): EllisLab\ExpressionEngine\Controller\Channels\Channels->form() #3 [internal function]: EllisLab\ExpressionEngine\Co in /var/www/am-ma.ro/system/ee/EllisLab/ExpressionEngine/Model/Channel/Channel.php on line 292
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); } ```