My zabbix is displaying the error message below:
I searched on google and found a probable solution, but it hasn’t worked yet:
can you help me?
solve my headache!
I’ve been trying to solve it for days.
My zabbix is displaying the error message below:
I searched on google and found a probable solution, but it hasn’t worked yet:
can you help me?
solve my headache!
I’ve been trying to solve it for days.
2
Answers
I don't know PHP, but I did it as I looked for information. I added your suggestion and the error remains, as if that wasn't the file it was complaining about; The error is also a bit confusing for me, as you can see below:
A non well formed numeric value encountered [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → make_status_of_zbx() → CFrontendSetup->checkRequirements() → CFrontendSetup->checkPhpMemoryLimit() → str2mem() in include/func.inc.php:410] A non well formed numeric value encountered [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → make_status_of_zbx() → CFrontendSetup->checkRequirements() → CFrontendSetup->checkPhpPostMaxSize() → str2mem() in include/func.inc.php:410] A non well formed numeric value encountered [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → make_status_of_zbx() → CFrontendSetup->checkRequirements() → CFrontendSetup->checkPhpUploadMaxFilesize() → str2mem() in include/func.inc.php:410]
$val
still contains$last
character. You need to remove last char from$val
as well. add this before your switch command: