aaPanel_Kern I've already tried the reinstall, The typo error is in /www/server/panel/plugin/clear/index.html line 414 but unfortunately even after fixing the typo the issue still remained.
I fixed it by running sudo touch /var/log/README
as the error indicates there is no README file present, after that it started working correctly, funny thing is now even if I delete the README file it still works perfectly so maybe it was a permission issue.