Guys,
Anyone encountered this:
./map-poller.php
PHP Fatal error: Uncaught Error: Call to undefined function is_cli() in /opt/observium/includes/definitions.inc.php:183
Stack trace:
#0 /opt/observium/html/weathermap/map-poller.php(55): include()
#1 {main}
thrown in /opt/observium/includes/definitions.inc.php on line 183
map-poller.php line 55:
55 include("../../includes/definitions.inc.php");
definitions.inc.php line 183:
182 // Overwrite the autogenerated base_url with external_url when we're on CLI.
183 if(is_cli())
184 {
185 $config['base_url'] = $config['external_url'];
186 }
I’m guessing this is to do with base_url but unsure what exactly?
Cheers