Error: 500 Perl execution failed

I’m not sure what’s gone wrong. I’ve had this error almost since i installed Webmin (a month or 2). It doesn’t affect the primary functions of Webmin, the Stats History just fails to load and i get constant pop ups of this error.

“Error: 500 - Perl execution failed - Can’t use string (” “) as a HASH ref while “strict refs” in use - /stats.cgi?xhr-stats=general”

Anybody seen this before or can point me in a direction?

SYSTEM INFORMATION
OS type and version Ubuntu 22.04.4
Webmin version 2.105

Is this with Nginx? maybe same as https://forum.virtualmin.com/t/cant-update-website-options-with-new-virtualmin-7-10-0-and-nginx/125612/14

No Nginx. Just a simple Unbuntu setup running a Samba file server.