https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162022-11-09T09:46:49ZpfSense bugtrackerpfSense Packages - Bug #13642: PHP Error: frr_zebra.inc:159https://redmine.pfsense.org/issues/13642?journal_id=636792022-11-09T09:46:49ZJim Pingle
<ul><li><strong>Parent task</strong> set to <i>#13446</i></li></ul> pfSense Packages - Bug #13642: PHP Error: frr_zebra.inc:159https://redmine.pfsense.org/issues/13642?journal_id=636842022-11-09T12:18:27ZReid Linnemann
<ul><li><strong>Assignee</strong> set to <i>Reid Linnemann</i></li></ul> pfSense Packages - Bug #13642: PHP Error: frr_zebra.inc:159https://redmine.pfsense.org/issues/13642?journal_id=637162022-11-11T02:00:53ZDanilo Zrenjanin
<ul></ul><p>Tested against:</p>
<pre>
2.7.0-DEVELOPMENT (amd64)
built on Fri Nov 11 06:06:08 UTC 2022
FreeBSD 14.0-CURRENT
</pre>
<p>I couldn't replicate the issue with Global FRR switch on. Is there anything specific that needs to be set in FRR?</p> pfSense Packages - Bug #13642: PHP Error: frr_zebra.inc:159https://redmine.pfsense.org/issues/13642?journal_id=637362022-11-12T13:19:31ZAlhusein Zawi
<ul></ul><p>The issue occurs when adding a route map</p>
<p>PHP errors:<br />PHP ERROR: Type: 1, File: /usr/local/pkg/frr/inc/frr_zebra.inc, Line: 418, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/frr/inc/frr_zebra.inc:418<br />Stack trace:<br />#0 /usr/local/pkg/frr/inc/frr_zebra.inc(821): frr_zebra_generate_routemaps()<br />#1 /usr/local/pkg/frr.inc(669): frr_generate_config_zebra()<br /><a class="issue tracker-1 status-3 priority-4 priority-default closed parent" title="Bug: Gateway not added when switching from DHCP to static (Resolved)" href="https://redmine.pfsense.org/issues/2">#2</a> /usr/local/www/pkg_edit.php(245) : eval()'d code(2): frr_generate_config()<br /><a class="issue tracker-1 status-3 priority-4 priority-default closed" title="Bug: VPN negation rules not added in 2.0 (Resolved)" href="https://redmine.pfsense.org/issues/3">#3</a> /usr/local/www/pkg_edit.php(245): eval()<br /><a class="issue tracker-4 status-3 priority-4 priority-default closed" title="Todo: Remove hard coded VLAN supported interfaces list (Resolved)" href="https://redmine.pfsense.org/issues/4">#4</a> {main}</p>
<p>23.01-DEVELOPMENT (amd64)<br />built on Fri Nov 11 06:05:57 UTC 2022<br />FreeBSD 14.0-CURRENT</p> pfSense Packages - Bug #13642: PHP Error: frr_zebra.inc:159https://redmine.pfsense.org/issues/13642?journal_id=637382022-11-12T13:33:44ZDanilo Zrenjanin
<ul></ul><p>There is a different redmine for that issue:<br /><a class="external" href="https://redmine.pfsense.org/issues/13564">https://redmine.pfsense.org/issues/13564</a></p> pfSense Packages - Bug #13642: PHP Error: frr_zebra.inc:159https://redmine.pfsense.org/issues/13642?journal_id=638442022-11-16T17:48:37ZReid Linnemann
<ul></ul><p>Root cause of this appears to be an empty <config> element being written under the frrglobalroutemaps package. Due to how <config> is treated as a list element in the xml parser, this results in installedpackages/frrglobalroutemaps/config being an array of size 1 with an empty string element, and that empty string element is expected to be an array by the package code.</p> pfSense Packages - Bug #13642: PHP Error: frr_zebra.inc:159https://redmine.pfsense.org/issues/13642?journal_id=638452022-11-16T17:48:48ZReid Linnemann
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Confirmed</i></li></ul> pfSense Packages - Bug #13642: PHP Error: frr_zebra.inc:159https://redmine.pfsense.org/issues/13642?journal_id=638462022-11-16T17:49:17ZReid Linnemann
<ul><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>In Progress</i></li></ul> pfSense Packages - Bug #13642: PHP Error: frr_zebra.inc:159https://redmine.pfsense.org/issues/13642?journal_id=639742022-11-21T11:52:20ZReid Linnemann
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li></ul><p>Fixed in <a href="https://github.com/pfsense/FreeBSD-ports/commit/4a256a029fccc20a7e2b3f2e5a9a5a7dc024eaa8" class="external">4a256a0</a></p> pfSense Packages - Bug #13642: PHP Error: frr_zebra.inc:159https://redmine.pfsense.org/issues/13642?journal_id=641442022-12-01T07:42:43ZJim Pingle
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul> pfSense Packages - Bug #13642: PHP Error: frr_zebra.inc:159https://redmine.pfsense.org/issues/13642?journal_id=644202022-12-09T01:46:04ZReid Linnemann
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-3 priority-4 priority-default closed child" href="/issues/13564">Bug #13564</a>: PHP error after creating a Route Map</i> added</li></ul> pfSense Packages - Bug #13642: PHP Error: frr_zebra.inc:159https://redmine.pfsense.org/issues/13642?journal_id=644212022-12-09T01:48:02ZReid Linnemann
<ul></ul><p>I had neglected originally to bump the portrevision, so the package was not actually rebuilt. That has been done as of <a href="https://github.com/pfsense/FreeBSD-ports/commit/c17f51a3887ae9740e1ddd9fd351b25f30a253f6" class="external">c17f51a</a></p> pfSense Packages - Bug #13642: PHP Error: frr_zebra.inc:159https://redmine.pfsense.org/issues/13642?journal_id=644292022-12-09T07:25:49ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>This appears to be OK on a current snap with the latest package (After removing some leftover debug prints in the base).</p>
<p>It cleaned up the bad tag and I can also list and create route map entries.</p> pfSense Packages - Bug #13642: PHP Error: frr_zebra.inc:159https://redmine.pfsense.org/issues/13642?journal_id=679192023-06-13T19:32:58ZJim Pingle
<ul><li><strong>Target version</strong> deleted (<del><i>2.7.0</i></del>)</li><li><strong>Plus Target Version</strong> deleted (<del><i>23.01</i></del>)</li></ul>