Exception - Call to a member function out() on bool

More information about this error