Project

General

Profile

Actions

Regression #13705

closed
CC CM

Feature #13446: Upgrade PHP from 7.4 to 8.1

PHP8.1 Captive Portal TypeError

Regression #13705: PHP8.1 Captive Portal TypeError

Added by Christopher Cope almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
Captive Portal
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.01
Release Notes:
Force Exclusion
Affected Version:
Affected Architecture:

Description

PHP ERROR: Type: 1, File: /etc/inc/captiveportal.inc, Line: 2354, Message: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /etc/inc/captiveportal.inc:2354
Stack trace:
#0 /etc/inc/captiveportal.inc(2354): implode('\n', '')
#1 /etc/rc.carpmaster(196): captiveportal_write_usedmacs_db('')
#2 {main}
thrown @ 2022-11-28 17:50:40

CC Updated by Christopher Cope almost 4 years ago Actions #1

Tested on

23.01-DEVELOPMENT (amd64)
built on Thu Nov 24 06:04:19 UTC 2022
FreeBSD 14.0-CURRENT 

CM Updated by Christian McDonald almost 4 years ago Actions #2

  • Status changed from New to Feedback
  • Assignee set to Christian McDonald
  • Target version set to CE-Next
  • Plus Target Version set to Plus-Next
  • Release Notes changed from Default to Force Exclusion

JP Updated by Jim Pingle almost 4 years ago Actions #3

  • Target version changed from CE-Next to 2.7.0
  • Plus Target Version changed from Plus-Next to 23.01

JP Updated by Jim Pingle almost 4 years ago Actions #4

  • Tracker changed from Bug to Regression

CC Updated by Christopher Cope almost 4 years ago Actions #5

  • Status changed from Feedback to Resolved

I was getting this error every few hours. After applying this patch I've went almost 24 hours without an error. Marking resolved.

JP Updated by Jim Pingle almost 4 years ago Actions #6

  • % Done changed from 0 to 100
Actions

Also available in: Atom