Laravel 5.3 errors with PHP 7.2
Read OriginalThe 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.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser