Details
-
Paid Support
-
Resolution: Not A Bug
-
Minor
-
None
-
None
-
None
-
Observium 24.3.13371 (1st March 2024)
OS Linux 5.15.0-100-generic [amd64] (Ubuntu 22.04)
Apache 2.4.52 (Ubuntu)
PHP 8.1.2-1ubuntu2.14 (OPcache: ENABLED) (Memory: 4GB)
Python 3.10.12
MariaDB 11.2.3-MariaDB (extension: mysqli 8.1.2-1ubuntu2.14)
SNMP NET-SNMP 5.9.1
RRDtool 1.7.2 (rrdcached 1.7.2: unix:/var/run/rrdcached.sock)
Fping 5.1 (IPv4 and IPv6)
Fetch cURL 7.81.0 (OpenSSL/3.0.2, LibZ 1.2.11, LibIDN 2.3.2)Observium 24.3.13371 (1st March 2024) OS Linux 5.15.0-100-generic [amd64] (Ubuntu 22.04) Apache 2.4.52 (Ubuntu) PHP 8.1.2-1ubuntu2.14 (OPcache: ENABLED) (Memory: 4GB) Python 3.10.12 MariaDB 11.2.3-MariaDB (extension: mysqli 8.1.2-1ubuntu2.14) SNMP NET-SNMP 5.9.1 RRDtool 1.7.2 (rrdcached 1.7.2: unix:/var/run/rrdcached.sock) Fping 5.1 (IPv4 and IPv6) Fetch cURL 7.81.0 (OpenSSL/3.0.2, LibZ 1.2.11, LibIDN 2.3.2)
Description
After upgrade, getting the following error message:
Oops! Something went wrong.
Class "Doctrine\SqlFormatter\SqlFormatter" not found in /opt/observium/html/includes/print/navbar.inc.php:486
#0: (unknown function) called at [/opt/observium/html/includes/print/navbar.inc.php:486]
481: $sql_query['location'] = str_replace($config['install_dir'] . '/', '', $sql_query['location']);
482:
483:
484: echo '<span class="label label-primary">' . $sql_query['function'] . '()</span> <span class="label label-info">' .
485: $sql_query['location'] . ':' . $sql_query['line'] . '</span> <span class="label">' . round($sql_query['time'], 3) . 's</span>
486: ' . (new Doctrine\SqlFormatter\SqlFormatter())->format($sql_query['sql']);
{{487: }}}
488:
489: ?>
490: </div>
491: </li>
#1: print_navbar_stats_debug called at [/opt/observium/html/includes/navbar_footer.inc.php:110]
105: ?>
106: </li>
107:
108: <?php
109:
110: print_navbar_stats_debug();
111:
112: print_navbar_stats();
113:
114: ?>
115:
#2: include called at [/opt/observium/html/index.php:300]
295: </div>
296:
297: <?php
298:
299: if (!get_var_true($vars['bare'])) {
300: include($config['html_dir'] . "/includes/navbar_footer.inc.php");
301: } // end if bare
302:
303: clear_duplicate_cookies();
304:
305: // <script type="text/javascript">