PHP Deprecated: Function split() is deprecated

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
videodude
Posts: 10
Joined: Thu Apr 28, 2016 9:02 pm
Location: Auckland, New Zealand

PHP Deprecated: Function split() is deprecated

Post by videodude »

Hello,

Firstly I have had amazing support on this website, so thank you all for it!

Just done a search for this in thold and cant find anything, but there is reference to it in weathermap.
So I thought I would ask here :)

I am getting the following in logs,

May 2 23:02:21 aklservices php: PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/plugins/thold/includes/polling.php on line 37
May 2 23:02:25 aklservices php: PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/plugins/thold/includes/polling.php on line 28

Just wondering if anyone can shed any light on this, apart from the fact that the function split has been deprecated..
Is there a way to correct it or do I have to put up with it, until I upgrade threshold?
rakken
Posts: 14
Joined: Tue Apr 26, 2016 6:57 am

Re: PHP Deprecated: Function split() is deprecated

Post by rakken »

hi!

This function has been DEPRECATED as of PHP 5.3.0.

search where you have the function split() used and replace with explode() on line 37 and 28
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests