The Error appears on my machine simply by opening the Cockpit Dashboard.
It get’s cought in the getSystemSummary function, so the system information never appears.
PHP says that the error appears four times, on the lines 39, 40, 41 and 42.
The content of the status JSON is:
{
"status": {
"memory": {
"MemTotal": "7958500",
"MemFree": "200136",
"MemAvailable": "5082732",
"Buffers": "20632",
"Cached": "4779032",
"SwapCached": "39556",
"Active": "1143584",
"Inactive": "5687300",
"Active(anon)": "1007268",
"Inactive(anon)": "1142920",
"Active(file)": "136316",
"Inactive(file)": "4544380",
"Unevictable": "0",
"Mlocked": "0",
"SwapTotal": "8126460",
"SwapFree": "7085564",
"Dirty": "17828",
"Writeback": "60",
"AnonPages": "2008144",
"Mapped": "144372",
"Shmem": "118640",
"Slab": "579852",
"SReclaimable": "505680",
"SUnreclaim": "74172",
"KernelStack": "7664",
"PageTables": "94008",
"NFS_Unstable": "0",
"Bounce": "0",
"WritebackTmp": "0",
"CommitLimit": "12105708",
"Committed_AS": "7653376",
"VmallocTotal": "34359738367",
"VmallocUsed": "297676",
"VmallocChunk": "34358947836",
"HardwareCorrupted": "0",
"AnonHugePages": "100352",
"CmaTotal": "0",
"CmaFree": "0",
"HugePages_Total": "0",
"HugePages_Free": "0",
"HugePages_Rsvd": "0",
"HugePages_Surp": "0",
"Hugepagesize": "2048",
"DirectMap4k": "399432",
"DirectMap2M": "7938048",
"DirectMap1G": "0"
},
"uptime": {
"days": 38,
"hours": 7,
"minutes": 14,
"seconds": 23
},
"cpu": {
"model": "AMD E-350 Processor",
"n": 2
},
"kernel": "3.10.0-957.1.3.el7.x86_64",
"hardware": "To Be Filled By O.E.M. To Be Filled By O.E.M.",
"release": "NethServer release 7.6.1810 (final)",
"load": [
9.87,
7.6,
7.23
]
},
"configuration": ""
}