PHP Warning:  mysqli_insert_id() expects parameter 1 to be mysqli, boolean given in /home/****/public_html/system/database.mysqli.php on line 143

When this happens? How do I test?

Forever unshaven, red-eyed, detached from reality, with his cockroaches in my head. And let it always will be!

I delete mysqli
I'm using mysql
maybe from the server