Title: Undefined variable in admin backend
Last modified: August 22, 2016

---

# Undefined variable in admin backend

 *  Resolved Anonymous User 13812167
 * (@anonymized-13812167)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-in-admin-backend/)
 * I was looking deeper into the problems why plugin doesn’t work (even in the front
   end). Decided that the problem lies in the admin backend.
 * After checking it out I have found this:
    `Undefined variable: form in .../seo-
   friendly-images.class.php on line 294`
 * [https://wordpress.org/plugins/seo-image/](https://wordpress.org/plugins/seo-image/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [fradry](https://wordpress.org/support/users/fradry/)
 * (@fradry)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-in-admin-backend/#post-5612311)
 * For me this error:
 * Warning: Invalid argument supplied for foreach() in ……../wp-content/plugins/seo-
   image/seo-friendly-images.class.php on line 722
 *  Plugin Author [Vladimir Prelovac](https://wordpress.org/support/users/freediver/)
 * (@freediver)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-in-admin-backend/#post-5612344)
 * These are fixed in 3.0.3
 * Have in mind the plugin works by modyfiyng HTML output of the image, so to check
   if it works or not you should find the image source in the HTML source of the
   page.
 *  Thread Starter Anonymous User 13812167
 * (@anonymized-13812167)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-in-admin-backend/#post-5612349)
 * Settings backend still plagued by `Undefined variable`. [http://i.imgur.com/wKh5TCE.jpg](http://i.imgur.com/wKh5TCE.jpg)
   
   Adding `isset` helps avoid the error, but does not help fully rendering the settings
   form.
 * Nothing has changed on the front end. Title tag is still missing.
 * As far as I have looked into the code it seems that `$options["enable"]` should
   be `"on"`, but no such setting is rendered (or kept hidden, or stored in database)
   in the settings backend.
 *  Plugin Author [Vladimir Prelovac](https://wordpress.org/support/users/freediver/)
 * (@freediver)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-in-admin-backend/#post-5612438)
 * There was a big with default options. Thanks for pointing out. You should use
   3.0.4 and save the options.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Undefined variable in admin backend’ is closed to new replies.

 * ![](https://ps.w.org/seo-image/assets/icon-128x128.png?rev=1050796)
 * [SEO Friendly Images](https://wordpress.org/plugins/seo-image/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seo-image/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seo-image/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-image/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-image/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-image/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Vladimir Prelovac](https://wordpress.org/support/users/freediver/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-in-admin-backend/#post-5612438)
 * Status: resolved