Open midi123 opened 2 months ago
The solution is:
edit: /share/application/controllers/popup.php and change:
class Popup_Controller extends System_Controller
{
public function __construct()
{
parent::__construct();
$this->template = $this->add_view('popup');
}
into:
class Popup_Controller extends System_Controller
{
public $imgwidth;
public function __construct()
{
parent::__construct();
$this->template = $this->add_view('popup');
}
Hello, then we assume it can work in PHP 8.2, currently I have 8.1 because it gave problems
Describe the bug After fresh install of pnp4nagios on the page: /pnp4nagios/index.php/popup?host=&srv= page the error appears:
To Reproduce Steps to reproduce the behavior:
Expected behavior Graph with content.
Screenshots
Desktop (please complete the following information): NagiosCore: 4.5.3 OS: Linux raspberrypi 6.6.31+rpt-rpi-v7 Raspbian (2024-05-29) armv7l Browser: Edge pnp4nagios: https://github.com/pnp4nagios/pnp4nagios/releases/tag/v0.6.27-5 PHP version: PHP 8.2.7 (cli) (built: Jul 20 2023 18:02:54) (NTS)