Title: Undefined variable: image
Last modified: May 7, 2018

---

# Undefined variable: image

 *  [Matt Keys](https://wordpress.org/support/users/mattkeys/)
 * (@mattkeys)
 * [8 years ago](https://wordpress.org/support/topic/undefined-variable-image-2/)
 * I am getting the PHP notice:
 * Notice: Undefined variable: image in [..]/wp-content/plugins/skyword-plugin/php/
   class-skyword-opengraph.php on line 115
 * Looking at the code, the function involved returns $image, however $image might
   not be defined if there are no images attached.

The topic ‘Undefined variable: image’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/skyword-plugin.svg)
 * [Skyword XMLRPC publishing](https://wordpress.org/plugins/skyword-plugin/)
 * [Support Threads](https://wordpress.org/support/plugin/skyword-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/skyword-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/skyword-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/skyword-plugin/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Matt Keys](https://wordpress.org/support/users/mattkeys/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/undefined-variable-image-2/)
 * Status: not resolved