Title: Undefined variable $image_array
Last modified: January 20, 2023

---

# Undefined variable $image_array

 *  [shawfactor](https://wordpress.org/support/users/shawfactor/)
 * (@shawfactor)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/undefined-variable-image_array/)
 * As far as I can tell $image_array is not defined anywhere so I get the below 
   error. Can you please fix this?
 * Type: PHP Warning
 * Undefined variable $image_array
 * Line: 54
 * File: /****/public_html/wp-content/themes/baskerville/image.php

The topic ‘Undefined variable $image_array’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/baskerville/2.3.1/screenshot.jpg)
 * Baskerville
 * [Support Threads](https://wordpress.org/support/theme/baskerville/)
 * [Active Topics](https://wordpress.org/support/theme/baskerville/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/baskerville/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/baskerville/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [shawfactor](https://wordpress.org/support/users/shawfactor/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/undefined-variable-image_array/)
 * Status: not resolved