-
Notifications
You must be signed in to change notification settings - Fork 132
Description
Description of the problem
When using the show_overview="yes" parameter within Structure, I get the following Error in my local Herd environment: I was also able to replicate this on a separate unrelated server as well.
How To Reproduce
-
Create a template in the CP and copy in the Structure Basic Nav markup from the following page:
https://eeharbor.com/structure/documentation/navigation -
Add the following Structure Nav parameter so that your Nav tag is as follows:
{exp:structure:nav_basic show_depth="4" show_overview="yes"} -
view rendered page in browser.
Error Messages
Deprecated
Automatic conversion of false to array is deprecated
ee/ExpressionEngine/Addons/structure/sql.structure.php, line 454
Severity: E_DEPRECATED
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/ExpressionEngine/Boot/boot.common.php, line 478
Severity: E_WARNING
Screenshots / Videos / Template Code
<ul class="menu-item-list fw-500 p-0">
{exp:structure:nav_basic show_depth="2" show_overview="yes"}
<li class="menu-item">
<a href="{root:page_url}" class="inner-link nav-link">{root:title}</a>
{if root:has_children}
<span class="menu-toggle" role="button" data-bs-toggle="collapse" data-bs-target="#sub-menu-{root:count}" aria-expanded="false" aria-label="button"></span>
<ul class="sub-menu2 collapse" id="sub-menu-{root:count}">
{root:children}
<li>
<a href="{child:page_url}">{child:title}</a>
</li>
{/root:children}
</ul>
{/if}
</li>
{/exp:structure:nav_basic}
</ul>
Environment Details:
- EE Version: 7.4.11
- PHP Version 8.3
- MySQL Version 8.0.36
- OS: MacOS 15
- Web Server: Herd