Project

General

Profile

Bug #8640

PHP Error

Added by Dirk Steingäßer about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
Rules / NAT
Target version:
Start date:
07/12/2018
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.4
Affected Architecture:

Description

Hi, just for notice there is an php error with 2.4.4 dev

[[Crash report begins. Anonymous machine information:

amd64
11.2-RELEASE
FreeBSD 11.2-RELEASE #3 79c8a561b61(RELENG_2_4_4): Thu Jul 12 08:53:11 EDT 2018 root@buildbot3:/builder/crossbuild-ce-master/obj/amd64/FWJoMRHc/builder/crossbuild-ce-master/pfSense/tmp/FreeBSD-src/sys/pfSense

Crash report details:

PHP Errors:
[12-Jul-2018 18:52:54 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[12-Jul-2018 18:52:54 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[12-Jul-2018 18:52:55 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[12-Jul-2018 18:52:55 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[12-Jul-2018 18:52:55 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230

No FreeBSD crash data found.
]]

Associated revisions

Revision 8501d847 (diff)
Added by Stephen Jones about 1 year ago

Fixed #8640 PHP7 initialize variable as array instead of string

Revision 3ef6c4d3 (diff)
Added by Stephen Jones about 1 year ago

Fixed #8640 Added type casting in case destination port is empty

History

#1 Updated by Renato Botelho about 1 year ago

  • Target version set to 2.4.4
  • Affected Version set to 2.4.4

#2 Updated by Anonymous about 1 year ago

  • Assignee set to Anonymous

#3 Updated by Anonymous about 1 year ago

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

#4 Updated by Dirk Steingäßer about 1 year ago

Still present + additional NAT error

Crash report begins. Anonymous machine information:

amd64
11.2-RELEASE
FreeBSD 11.2-RELEASE #6 af4526707ed(RELENG_2_4_4): Fri Jul 13 10:57:15 EDT 2018 root@buildbot3:/builder/crossbuild-ce-master/obj/amd64/FWJoMRHc/builder/crossbuild-ce-master/pfSense/tmp/FreeBSD-src/sys/pfSense

Crash report details:

PHP Errors:
[14-Jul-2018 00:18:17 Europe/Berlin] PHP Warning: A non-numeric value encountered in /usr/local/www/firewall_nat_edit.php on line 327
[14-Jul-2018 00:18:17 Europe/Berlin] PHP Warning: A non-numeric value encountered in /usr/local/www/firewall_nat_edit.php on line 327
[14-Jul-2018 00:18:17 Europe/Berlin] PHP Warning: A non-numeric value encountered in /usr/local/www/firewall_nat_edit.php on line 327
[14-Jul-2018 00:18:17 Europe/Berlin] PHP Warning: A non-numeric value encountered in /usr/local/www/firewall_nat_edit.php on line 465
[14-Jul-2018 00:18:17 Europe/Berlin] PHP Warning: A non-numeric value encountered in /usr/local/www/firewall_nat_edit.php on line 465
[14-Jul-2018 00:18:17 Europe/Berlin] PHP Warning: A non-numeric value encountered in /usr/local/www/firewall_nat_edit.php on line 465
[14-Jul-2018 00:18:21 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:18:21 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:18:22 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:18:22 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:18:22 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:21:14 Europe/Berlin] PHP Warning: A non-numeric value encountered in /usr/local/www/firewall_nat_edit.php on line 327
[14-Jul-2018 00:21:14 Europe/Berlin] PHP Warning: A non-numeric value encountered in /usr/local/www/firewall_nat_edit.php on line 327
[14-Jul-2018 00:21:14 Europe/Berlin] PHP Warning: A non-numeric value encountered in /usr/local/www/firewall_nat_edit.php on line 327
[14-Jul-2018 00:21:14 Europe/Berlin] PHP Warning: A non-numeric value encountered in /usr/local/www/firewall_nat_edit.php on line 465
[14-Jul-2018 00:21:14 Europe/Berlin] PHP Warning: A non-numeric value encountered in /usr/local/www/firewall_nat_edit.php on line 465
[14-Jul-2018 00:21:14 Europe/Berlin] PHP Warning: A non-numeric value encountered in /usr/local/www/firewall_nat_edit.php on line 465
[14-Jul-2018 00:21:17 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:21:17 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:21:18 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:21:18 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:21:18 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:23:26 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:23:27 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:23:27 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:23:27 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:23:27 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:23:33 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:23:33 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:23:34 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:23:34 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:23:34 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:23:37 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:23:37 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:23:37 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:23:38 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:23:38 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:25:39 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:25:39 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:25:40 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:25:40 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:25:40 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:27:25 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:27:25 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:27:25 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:27:25 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:27:25 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:27:28 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:27:28 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:27:29 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:27:29 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230
[14-Jul-2018 00:27:29 Europe/Berlin] PHP Warning: Cannot assign an empty string to a string offset in /etc/inc/filter.inc on line 2230

No FreeBSD crash data found.

#5 Updated by Jim Pingle about 1 year ago

  • Category set to Rules / NAT
  • Status changed from Feedback to Assigned

#6 Updated by Anonymous about 1 year ago

I just pushed a new fix for the nat_edit page that should fix that issue. It may take a couple days for the changes to make it in the next snap. 3ef6c4d3a02a6478b823de56f5703ad19b4f3a06

#7 Updated by Anonymous about 1 year ago

  • Status changed from Assigned to Feedback

#8 Updated by Constantine Kormashev about 1 year ago

Do not observe the issue on latest for creating, editing and deleting NAT rules for any type of NAT

#9 Updated by Jim Pingle about 1 year ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF