Christos Lytras 12/11/2017

Laravel 5.3 errors with PHP 7.2

Read Original

The article details a specific error encountered when running Laravel 5.3 on PHP 7.2, caused by PHP 7.2's new warning when count() is used on non-countable types. It explains the issue, references the relevant Laravel PR, and provides a manual code fix for the Illuminate/Database/Eloquent/Builder.php file as a temporary workaround until a full framework upgrade can be performed.

Laravel 5.3 errors with PHP 7.2

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser