Call to a member function make() on null after the update

Permalink
I've updated from 5.7 to 8.4.3. The dashboard pages are all working fine. However, on the front end pages I'm getting an unexpected error "Call to a member function make() on null". The pages that has this error message do not have any edit buttons on the edit bar. The edit bar appears but only has the C5 logo in it. Not sure what exactly is causing this.

BlueFractals
 
JohntheFish replied on at Permalink Reply
JohntheFish
As a fist step, in the dashboard disable all caches and clear the cache, then put doctrine into development mode (search on 'entities).
BlueFractals replied on at Permalink Reply
BlueFractals
I did all that but still not working. After putting doctrine into development mode, I also refreshed entities but still no luck. Any other suggestions?
BlueFractals replied on at Permalink Best Answer Reply
BlueFractals
It turned out to be an issue with how I had the "BasicThumbnailer" class initialised.
$th = new BasicThumbnailer();


I changed this to:
$app = \Concrete\Core\Support\Facade\Application::getFacadeApplication();
$th = $app->make('helper/image');


This seemed to have resolved the issue.