I have one issue with deploying the Laravel project to the hosting server. It works well before the deployment, but now I have got the following error.
ErrorException in Util.php line 206:
Function create_function() is deprecated
This project is based on Laravel version 5.4 and the PHP version of the hosting server is 5.6.3.
And I run the following commands:
php artisan config:clear
php artisan cache:clear
However, it occurs the same error.
I would appreciate that let someone know about the solution.
Thanks.
Xiaoxuan.