Project

General

Profile

Bug #8680

PHP7: Adding a static gateway on an interface when none are already defined causes errors.

Added by Steve Wheeler 11 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Gateways
Target version:
Start date:
07/23/2018
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.4
Affected Architecture:
All

Description

PHP Errors:
[23-Jul-2018 13:27:39 Europe/London] PHP Warning:  Illegal string offset 'gateway_item' in /etc/inc/gwlb.inc on line 1955
[23-Jul-2018 13:27:39 Europe/London] PHP Fatal error:  Uncaught Error: Cannot create references to/from string offsets in /etc/inc/gwlb.inc:1955

Associated revisions

Revision 5e3918ba (diff)
Added by Jim Pingle 11 months ago

Fix PHP error when adding a gateway from interfaces.php. Fixes #8680

History

#1 Updated by Jim Pingle 11 months ago

  • Category set to Gateways
  • Assignee set to Jim Pingle
  • Affected Architecture set to All

#2 Updated by Jim Pingle 11 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#3 Updated by Vladimir Lind 11 months ago

  • Status changed from Feedback to Resolved

Created a gateway and then set it on an interface with "none" gateway - applied successfully

Tested on 2.4.4-DEVELOPMENT (arm) built on Fri Aug 10 19:14:45 EDT 2018

Also available in: Atom PDF