Project

General

Profile

Actions

Bug #13766

closed

Various PHP warnings during first reboot after upgrading to 23.01 from 22.01 or 22.05

Added by Chris W about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
PHP Interpreter
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Default
Affected Plus Version:
Affected Architecture:

Description

Some examples, but they're all easy to spot in the screen logs files despite their length.

Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
Warning: Trying to access array offset on value of type null in Role.php on line 250
Warning: Trying to access array offset on value of type null in Role.php on line 251
Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173

Upgraded to:

23.01-BETA (amd64)
built on Fri Dec 16 06:05:35 UTC 2022
FreeBSD 14.0-CURRENT

From a new installation of both 22.01 and 22.05. These warnings don't show on subsequent reboots, only the first reboot into the newly upgraded system. Upgrade was done through the web GUI.


Files

screenlog.0.22.05 (206 KB) screenlog.0.22.05 Chris W, 12/16/2022 06:22 PM
screenlog.0.22.01 (209 KB) screenlog.0.22.01 Chris W, 12/16/2022 06:22 PM
Actions #2

Updated by Jim Pingle about 3 years ago

  • Status changed from New to Not a Bug

One-off PHP warnings during upgrade will always happen when we change PHP versions or have other major differences between releases. As long as things are functional and the errors don't come back on the next reboot, they are not a concern.

Actions #3

Updated by Chris W almost 3 years ago

Sounds good. They certainly didn't reappear on next reboots but just thought I'd bring it to attention.

Actions #4

Updated by Chris W almost 3 years ago

  • Status changed from Not a Bug to Closed
Actions

Also available in: Atom PDF