Git Product home page Git Product logo

Comments (2)

connortechnology avatar connortechnology commented on June 6, 2024

This is a useless issue report. There is no reason for you to care about them. Please explain how/why you care about these.

from zoneminder.

IgorA100 avatar IgorA100 commented on June 6, 2024

Oh, Isaac, I apologize for not describing the situation in detail, because... I thought the problem was obvious.
After updating from PPA, PHP throws an error:

[Wed Feb 21 23:16:16.976261 2024] [php:error] [pid 406211] [client 192.168.111.77:64967] PHP Fatal error:  Uncaught Error: Call to a member function CpuLoad() on null in /usr/share/zoneminder/www/skins/classic/includes/functions.php:410\nStack trace:\n#0 /usr/share/zoneminder/www/ajax/status.php(21): getSysLoadHTML()\n#1 /usr/share/zoneminder/www/index.php(244): require_once('...')\n#2 {main}\n  thrown in /usr/share/zoneminder/www/skins/classic/includes/functions.php on line 410, referer: http://192.168.111.244/zm/index.php?view=watch&mid=6
[Wed Feb 21 23:16:16.989745 2024] [php:error] [pid 406246] [client 192.168.111.77:64961] PHP Fatal error:  Uncaught Error: Call to a member function CpuLoad() on null in /usr/share/zoneminder/www/skins/classic/includes/functions.php:410\nStack trace:\n#0 /usr/share/zoneminder/www/ajax/status.php(21): getSysLoadHTML()\n#1 /usr/share/zoneminder/www/index.php(244): require_once('...')\n#2 {main}\n  thrown in /usr/share/zoneminder/www/skins/classic/includes/functions.php on line 410, referer: http://192.168.111.244/zm/index.php?view=log
[Wed Feb 21 23:17:00.176529 2024] [php:error] [pid 406203] [client 192.168.111.252:56344] PHP Fatal error:  Uncaught Error: Call to a member function CpuUsagePercent() on null in /usr/share/zoneminder/www/skins/classic/includes/functions.php:396\nStack trace:\n#0 /usr/share/zoneminder/www/skins/classic/includes/functions.php(275): getCpuUsageHTML()\n#1 /usr/share/zoneminder/www/skins/classic/includes/functions.php(186): getNormalNavBarHTML()\n#2 /usr/share/zoneminder/www/skins/classic/views/console.php(99): getNavBarHTML()\n#3 /usr/share/zoneminder/www/index.php(260): require_once('...')\n#4 {main}\n  thrown in /usr/share/zoneminder/www/skins/classic/includes/functions.php on line 396

I quickly looked at the code and really did not find the CpuUsagePercent() and CpuLoad() functions being called, which should implement the new functionality for displaying CPU load.

from zoneminder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.