Picture of Dwight Watson

Dwight Watson

A blog about Laravel & Rails.

Laravel 4: PHP Fatal error: Call to undefined method Illuminate\Foundation\Application::registerCoreContainerAliases()

This blog post was originally published a little while ago. Please consider that it may no longer be relevant or even accurate.

Just came across an issue when updating Laravel on our production website, where suddenly every page on the app would simply return:

PHP Fatal error: Call to undefined method Illuminate\Foundation\Application::registerCoreContainerAliases()

Was a bit of worry seeing it straight in production (not sure how we missed it on staging), but the easy fix is just to remove bootstrap/compiled.php.