Reply To: PHP warning on empty gallery