Beni
Also, check permissions (ensure files are not owned by root and public_html is set to 750 and owned by Owner:99). If you are using cPFence, you can use the following command to automatically set the permissions for you:
cpfence --fix-permissions-dry
Alternatively, you can manually check to ensure all permissions are correct and owned by the user, not the root. This is a common issue that occurs when making changes as the root user. Always switch to the username to access the container before applying changes from the terminal, for example:
su username