phpMyAdmin and Snappymail returns 500 Internal Server Error

After installing CyberPanel, I attempted to open phpMyAdmin and snappymail, but it resulted in a 500 Internal Server Error.

I can see that there is a directory name phpMyAdmin and snappymail under /usr/local/CyberCP/public.

Just an update, I have not changed the database root password. It appears that phpMyAdmin is unable to log in using the token.

This is a newly built CyberPanel using LiteSpeed.

Another update:

After running an upgrade using the following command:

sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

phmyadmin is now running without problem.

However, snappymail returns an error. I will not go into further detail because I have found a similar thread with the same error as mine.
It can be found here:

Solved it, here’s the link to the solution:
Solution