I'm running EE 2.2.2 and the latest version of Matrix. It happens when I try to call matrix cells inside reverse related entries. When I remove the related entries, it works fine and it works fine on its own with regular entries tags.
Error #1
a php error was encountered
Severity: Notice
Message: Undefined index: 1
Filename: channel/mod.channel.php
Line Number: 4070
Error #2
a php error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: channel/mod.channel.php
Line Number: 4070
Error #3
a php error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/account_name/public_html/panel/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 409
Any thoughts on this? :)
Thanks!
Loading Profile...


Twitter,
Facebook, or email.
EMPLOYEE

I understand your suggestion, but not entirely your example. The first one, what I should use to call the embed template... I don't know, is it missing a parenthesis or a bracket or a quote something? I see the embed open, but it doesn't close and I see the entry_id open with a quote, but not close with one and i see a parenthesis in there somewhere in the middle...
I just wanted to make sure I'm doing it right. :)
Thanks for your help, Brandon!
You can tweak the parameters on that {reverse_related_entries} tag to however you had it before. But by the time {exp:channel:entries} gets called in the embedded template, we’ve already figured out what the relevant reverse related entry IDs are, so dynamic="no" will tell EE to just display what we’re sending it.
This is what I've got:
{exp:channel:entries channel="menu" disable="member_data|categories|trackbacks"}
<div class="post">
<h2 class="page_heading">{title}</h2>
{menu_intro}
</div>
{embed="_inc/rel_services" entry_ids="0{reverse_related_entries}|{entry_id})
{/reverse_related_entries}"}
{/exp:channel:entries}
Then, in the embed, I've got:
{exp:channel:entries channel="menu" dynamic="no" entry_id="{embed:entry_ids}"}
{reverse_related_entries channel="services"}
<div class="post service"><a name="{entry_id}"></a>
<div class="service_heading">
<div class="prices">
{service_prices}
{if price1 !=""}<span class="price">{price1}</span>{/if}
{if price2 !=""}<span class="price">{price2}</span>{/if}
{if price3 !=""}<span class="price">{price3}</span>{/if}
{/service_prices}
</div>
<h3>{title}</h3>
</div>
{service_description}
</div>
{/reverse_related_entries}
{/exp:channel:entries}
In general, the embed breaks the whole page, but I'm not really understanding why I add the channel entries again in the embed...