ERROR PHP log for weathermap1.XX in cacti1.2.22

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
eyunb0405
Posts: 9
Joined: Tue Sep 27, 2022 11:09 am

ERROR PHP log for weathermap1.XX in cacti1.2.22

Post by eyunb0405 »

The weather map looks normal, just some log errors are reported when the link is added. But the added link can be displayed normally.

2022-09-27 22:55:04 - ERROR PHP WARNING in Plugin 'weathermap': A non-numeric value encountered in file: /var/www/html/cacti/plugins/weathermap/setup.php on line: 719
2022-09-27 22:55:04 - CMDPHP PHP ERROR WARNING Backtrace: (/poller.php[698]:process_poller_output(), /lib/poller.php[589]:api_plugin_hook_function(), /lib/plugins.php[149]:api_plugin_run_plugin_hook_function(), /lib/plugins.php[266]:weathermap_poller_output(), /plugins/weathermap/setup.php[719]:CactiErrorHandler())
2022-09-27 22:55:05 - ERROR PHP DEPRECATED in Plugin 'weathermap': Function get_magic_quotes_gpc() is deprecated in file: /var/www/html/cacti/plugins/weathermap/lib/editor.inc.php on line: 20
2022-09-27 22:55:05 - CMDPHP PHP ERROR Backtrace: (/plugins/weathermap/weathermap-cacti-plugin-editor.php[21]:require_once(), /plugins/weathermap/editor.php[274]:fix_gpc_string(), /plugins/weathermap/lib/editor.inc.php[20]:CactiErrorHandler())

centos7 php7.4.30+mariadb10.6.9+RRDtool 1.4.8 thurban_Weathermap for Cacti 1.x cacti1.2.22
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: ERROR PHP log for weathermap1.XX in cacti1.2.22

Post by TheWitness »

Yea, this is an issue with more recent PHP versions. For now, you might want to stay in the PHP7 family until a new release of Weathermap is put forward.
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?
eyunb0405
Posts: 9
Joined: Tue Sep 27, 2022 11:09 am

Re: ERROR PHP log for weathermap1.XX in cacti1.2.22

Post by eyunb0405 »

Thanks, I saw your project on github.
https://github.com/TheWitness/plugin_weathermap
I look forward to the next version of weathermap. Thank you for your work.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests