Details
Description
Dear Support team,
Today I have updated to the new stable version 18.5.9221, and I found a bug while trying to run an external script (Weathermap)
/opt/observium/html/weathermap$ sudo ./map-poller.php -d
Fatal error: Uncaught Error: Call to undefined function check_extension_exists() in /opt/observium/includes/definitions.inc.php:87
According to the PHP documentation, it seems the most appropriate function for this situation is: "extension_loaded}}()" http://php.net/manual/en/function.extension-loaded.php
So, I have replaced on /opt/observium/includes/definitions.inc.php, both lines 81 and 87 from "{{check_extension_exists()}}" to "{{extension_loaded()".
After this, the script works again, and I don't see any other issues on the observium side.
Could you please check if this is a viable solution?
Best regards,