Look at the documentation:
PHP: mysqli_result::fetch_assoc - Manual[
^] - it explains what type of data the parameter must be, and provides an example of code to use it.
Compare that code with yours - and we can't see the code than generates
$item
- and the error should be pretty obvious.