Actions
Regression #14561
closedFRR errors accessing Global Settings after deleting BGP neighbor
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:
Description
Steps to reproduce:
1. Install FRR.
2. Create a BGP neighbor without staring FRR.
3. Delete the neighbor.
4. Attempt to access Global Settings.
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/frr/inc/frr_bgp.inc:69 Stack trace: #0 /usr/local/pkg/frr.inc(222): frr_get_bgp_neighbor_list(false, true, false, 'BGP Neighbor: ', 'bgp|') #1 /usr/local/www/pkg_edit.php(412) : eval()'d code(1): frr_get_route_destinations() #2 /usr/local/www/pkg_edit.php(412): eval() #3 /usr/local/www/pkg_edit.php(1460): display_row(0, NULL, 'routetarget', 'select_source', Array, 'Static Route Ta...', NULL) #4 {main} thrown in /usr/local/pkg/frr/inc/frr_bgp.inc on line 69 PHP ERROR: Type: 1, File: /usr/local/pkg/frr/inc/frr_bgp.inc, Line: 69, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/frr/inc/frr_bgp.inc:69 Stack trace: #0 /usr/local/pkg/frr.inc(222): frr_get_bgp_neighbor_list(false, true, false, 'BGP Neighbor: ', 'bgp|') #1 /usr/local/www/pkg_edit.php(412) : eval()'d code(1): frr_get_route_destinations() #2 /usr/local/www/pkg_edit.php(412): eval() #3 /usr/local/www/pkg_edit.php(1460): display_row(0, NULL, 'routetarget', 'select_source', Array, 'Static Route Ta...', NULL) #4 {main} thrown
Tested on
23.05.1-RELEASE (amd64) built on Wed Jun 28 03:57:27 UTC 2023 FreeBSD 14.0-CURRENT frr 1.2_3
Related issues
Updated by Christopher Cope almost 2 years ago
- Related to Regression #14493: FRR,PHP errors when deleting neighbor added
Updated by Danilo Zrenjanin almost 2 years ago
I can confirm this behavior.
This seems to be a duplicate of https://redmine.pfsense.org/issues/14493
Updated by Jim Pingle almost 2 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Fixed in FRR Package v1.3, which is building now and will be available shortly.
Updated by Danilo Zrenjanin almost 2 years ago
- Status changed from Feedback to Resolved
Tested against FRR Package v1.3.
It's fixed.
I am marking this ticket resolved.
Actions