Fatal error: Call to a member function close() on a non-object. MySQLi issue

后端 未结 3 2074
粉色の甜心
粉色の甜心 2020-11-28 16:53

I have been getting the following error when I uploaded to a live server. It works OK on localhost which I thought was strange.

Fatal error: Call to a

3条回答
  •  迷失自我
    2020-11-28 17:05

    You should put $stmt into you if clause. There is a possiblity that if (false) and still get to your $stmt->close();

提交回复
热议问题