Fatal error: Call to undefined method mysqli_result::fetch_all()
mysqli_result::fetch_all() requires MySQL Native Driver (mysqlnd). chances are you might be missing it. have a look at this posts, that might help you. mysqli fetch_all() not a valid function?