This is the line the error is on:
return app('cache')->get($arguments[0], $arguments[1] ?? null);
I have already tried updating the PHP to version 7 and its still not working.
This is the line the error is on:
return app('cache')->get($arguments[0], $arguments[1] ?? null);
I have already tried updating the PHP to version 7 and its still not working.
 
    
    Try this:
return app('cache')->get($arguments[0], isset($arguments[1]) ? $arguments[1] : null);
 
    
    