Laravel tells you that it cannot execute make () on a non-object. If this is a line:
app()->make('path.base').($path ? '/'.$path : $path);
The function return value is not an object
app()
It may have been overrated by one of your packages or by your own helpers. This is the code that creates this function:
if ( ! function_exists('app'))
{
function app($make = null)
{
if ( ! is_null($make))
{
return app()->make($make);
}
return Illuminate\Support\Facades\Facade::getFacadeApplication();
}
}
, Laravel , . :
var_dump( app() );
, , .
object(Illuminate\Foundation\Application)[2]
protected 'booted' => boolean true
protected 'bootingCallbacks' =>
array (size=0)
Illuminate\Foundation\Application, , app(), .