Version: 2.11.3 Reporter: JCOGS Design —
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
Created a relationship field within a grid field. If for a channel:entry the field is unset within grid (but rows have content in the other grid fields) there is no problem opening the channel entry within a template. If you set any value for the relationship field in the grid, regardless of other field content, opening that channel entry within a template throws an error - even if that template makes no attempt to access the grid / relationship field.
If you do include code that access the relationship field in the grid, it seems to be able to access the information without any problems.
So this is bug is just about the warnings being thrown when the entry with a relationship set in a field within a grid field is accessed.
Here are the errors that appear:
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 188
Filename: relationship_parser/Tree_builder.php
Line Number: 554
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /var/sites/v/v8a.2gc.org/_sitemanager/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 475
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); } ```