Exception - Call to a member function is_buying() on boolean

More information about this error