我将zabbix-frontend-php升级到最新的稳定版本(4.0.0),在map中出现错误。在map中,我只看到第一个元素。在浏览器控制台中,我看到下一个错误:
TypeError: can't convert null to object jsLoader.php:2049:2
SVGElement.prototype.update http://zabbix.HOST/jsLoader.php:2049:2
SVGElement.prototype.create http://zabbix.HOST/jsLoader.php:2158:3
SVGElement http://zabbix.HOST/jsLoader.php:1980:3
SVGCanvas.prototype.createElement http://zabbix.HOST/jsLoader.php:1337:13
SVGTextArea.prototype.create http://zabbix.HOST/jsLoader.php:1753:17
SVGCanvas.prototype.createElement http://zabbix.HOST/jsLoader.php:1334:13
SVGElement.prototype.add http://zabbix.HOST/jsLoader.php:2015:16
SVGMapShape.prototype.update http://zabbix.HOST/jsLoader.php:3370:3
SVGMap.prototype.updateOrderedItems/< http://zabbix.HOST/jsLoader.php:2612:3
forEach self-hosted:268:13 SVGMap.prototype.updateOrderedItems http://zabbix.HOST/jsLoader.php:2607:2
SVGMap.prototype.update/< http://zabbix.HOST/jsLoader.php:2693:3
ImageCache.prototype.invokeCallback http://zabbixHOST/jsLoader.php:1847:3
ImageCache.prototype.handleCallback http://zabbix.HOST/jsLoader.php:1866:3
ImageCache.prototype.onImageLoaded http://zabbix.HOST/jsLoader.php:1878:2
ImageCache.prototype.preload/</image.onload http://zabbix.HOST/jsLoader.php:1935:4我在Forum zabbix上看到了这个错误,但它没有得到解决。
发布于 2018-10-19 20:46:20
为了暂时解决这个问题,我从git (主干,1.0.14版本)下载了上一个zabbix- frontend -php,并更新了前端。我不想看这个错误....
https://stackoverflow.com/questions/52892636
复制相似问题