When you transfer your files from one server to another it might be quite possible that you also copy the permissions and ownership of the files from the originating server to the destination server. In this case you can possibly run into huge permission issues which can lead your website to not display properly if the files in this case are related you your website's code.
This is when Linux throws the "UID of script is smaller than min_uid" error, it means that the script you are trying to run is owned by root user and you are not root user. In order to fix this issue all you need to do is fix the permissions for the files. Here is how you do it:
chown -R user /home/user/folder
We were facing problems with some of our websites, which we recently migrated from one of our servers and we used the following command to fix it:
chown -R dibs /home/dibs/public_html
Please let us know if this helps to solve your problem.