Project

General

Profile

Actions

Regression #15339

closed

Firewall logs widget cannot have multiple instances

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Dashboard
Target version:
Start date:
Due date:
% Done:

100%

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

Description

Adding more than one instance of the new logs widget to the dashboard generates an error:

[14-Mar-2024 20:00:57 Europe/London] PHP Fatal error:  Cannot redeclare mdiff() (previously declared in /usr/local/www/widgets/widgets/log.widget.php:57) in /usr/local/www/widgets/widgets/log.widget.php on line 57

This was not the case with the old log widget code.


Related issues

Related to Bug #12673: Firewall Logs Dashboard Widget is slow and may fail to updateResolvedJim Pingle

Actions
Actions #1

Updated by Steve Wheeler 8 months ago

  • Related to Bug #12673: Firewall Logs Dashboard Widget is slow and may fail to update added
Actions #2

Updated by Jim Pingle 8 months ago

  • Assignee set to Jim Pingle
Actions #3

Updated by Jim Pingle 8 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Georgiy Tyutyunnik 8 months ago

tested on
24.03-BETA (amd64)
built on Thu Mar 14 3:23:00 UTC 2024
FreeBSD 15.0-CURRENT

patch fixes the issue successfully

Actions #5

Updated by Jim Pingle 8 months ago

  • Status changed from Feedback to Resolved
Actions #6

Updated by Jim Pingle 8 months ago

  • Release Notes changed from Default to Force Exclusion
Actions

Also available in: Atom PDF