New install: PHP errors

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
KevinNoall
Cacti User
Posts: 92
Joined: Wed Feb 27, 2013 10:57 am
Location: Portland, OR
Contact:

New install: PHP errors

Post by KevinNoall »

I have a clean install and am getting PHP errors...
2024-04-29 12:52:03 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2024-04-29 12:52:03 - ERROR PHP ERROR: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /var/www/html/cacti/poller_boost.php:503 Stack trace: #0 /var/www/html/cacti/poller_boost.php(503): date() #1 /var/www/html/cacti/poller_boost.php(138): boost_time_to_run() #2 {main} thrown in file: /var/www/html/cacti/poller_boost.php on line: 503

This is on:
AlmaLinux 9.3
PHP 8.1.28
Cacti 1.2.26

Any insights would be greatly appreciated.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: New install: PHP errors

Post by TheWitness »

Please test with the 1.2.x branch.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
KevinNoall
Cacti User
Posts: 92
Joined: Wed Feb 27, 2013 10:57 am
Location: Portland, OR
Contact:

Re: New install: PHP errors

Post by KevinNoall »

No change on 1.2.x or 1.3.x
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: New install: PHP errors

Post by TheWitness »

Log it out on GitHub. Thanks.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest