Project

General

Profile

Actions

Regression #11710

closed

PHP error when resetting log files

Added by B. B. over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Viktor Gurov
Category:
Dashboard
Target version:
Start date:
03/20/2021
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Force Exclusion
Affected Version:
2.5.x
Affected Architecture:
All

Description

I got this error message after i press RESET LOG FILES under status.
Same error on 2.6.0 DEV too. (latest snapshot)

I'm on latest 2.5.1.r.20210320.0824

Warning: array_diff(): Expected parameter 2 to be an array, string given in /etc/inc/syslog.inc on line 167 Warning: array_merge(): Expected parameter 2 to be an array, null given in /etc/inc/syslog.inc on line 167 Warning: Invalid argument supplied for foreach() in /etc/inc/syslog.inc on line 167


Files

php_error_reset_log_file.JPG (53.3 KB) php_error_reset_log_file.JPG After pressing Reset log files B. B., 03/20/2021 05:53 PM
php_error_reset_log_file_1.JPG (65.6 KB) php_error_reset_log_file_1.JPG PHP warning at dashboard B. B., 03/20/2021 05:54 PM
Actions #2

Updated by Renato Botelho over 3 years ago

  • Status changed from New to Feedback
  • Assignee set to Viktor Gurov
  • % Done changed from 0 to 100

PR merged and cherry-picked to 2.5.1

Actions #3

Updated by B. B. over 3 years ago

Renato Botelho wrote:

PR merged and cherry-picked to 2.5.1

Tested on latest snapshots on 2.5.1 RC and 2.6.0 DEV
The error is still present on 2.5.1 RC, but it seems to be fixed on 2.6.0 DEV

Actions #4

Updated by Renato Botelho over 3 years ago

BaB Rex wrote:

Renato Botelho wrote:

PR merged and cherry-picked to 2.5.1

Tested on latest snapshots on 2.5.1 RC and 2.6.0 DEV
The error is still present on 2.5.1 RC, but it seems to be fixed on 2.6.0 DEV

What is the timestamp of tested versions? Since the same change was made on both repositories I cannot imagine how could it be possible

Actions #5

Updated by B. B. over 3 years ago

Renato Botelho wrote:

Bearny B. wrote:

Renato Botelho wrote:

PR merged and cherry-picked to 2.5.1

Tested on latest snapshots on 2.5.1 RC and 2.6.0 DEV
The error is still present on 2.5.1 RC, but it seems to be fixed on 2.6.0 DEV

What is the timestamp of tested versions? Since the same change was made on both repositories I cannot imagine how could it be possible

I was updating both version to latest snapshot this morning, 8 - 9 hours ago.
The 2.5.1 RC was dated 22.03.21 and 2.6.0 DEV was dated 23.03.21. Run an update on the 2.5.1 RC now again, and both the timestamp 23.03.21.

The PHP error is gone now :)

Actions #6

Updated by Renato Botelho over 3 years ago

  • Status changed from Feedback to Resolved
Actions #7

Updated by Jim Pingle over 3 years ago

  • Tracker changed from Bug to Regression
  • Subject changed from PHP error after Reset log files to PHP error when resetting log files
  • Release Notes changed from Default to Force Exclusion
Actions

Also available in: Atom PDF