Thank you so much to everyone! I had the same problem and I fixed it!
Hi everyone!
In my Hostgator Control Panel, I look out for the The PHP configuration option. The system default version was 5.2, selecting the option “PHP 5.4” solved the issue.
[Solved]