I'm experiencing the following PHP error on a site running Structure (3.3.6), and am having some trouble debugging it.
The text of the error is:
A PHP Error was encountered
Message: Undefined offset: 106
Line Number: 45
It is being output inline in my entry tree like so:
The code on line 45 of structure's
$add_url = BASE.AMP.'C=content_publish'.AMP.'M=entry_form'.AMP.'channel_id='.$page['channel_id'] .AMP.'parent_id='.$eid.AMP.'template_id='.$site_pages['templates'][$eid];
(Line break added for readability)
I can't see anything unique/wrong with the entry that is triggering this notice, and Structure is otherwise working fine. The only real reason I want to clean it up is that it's visible to the client in the CP (not my server and I can't edit PHP error prefs unfortunately).
Has anyone seen this before/know how to fix this?