I have two subsequent mysqli statements, and the second returns:
Fatal error: Call to a member function bind_param() on a non-object in ...
Check the return value of mysqli::prepare. If it is FALSE, you should get the details for the occured error with mysqli::error.