Title: PHP Strict error &#8211; Undefined index: version
Last modified: August 22, 2016

---

# PHP Strict error – Undefined index: version

 *  Resolved [harrisric](https://wordpress.org/support/users/harrisric/)
 * (@harrisric)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/php-strict-error-undefined-index-version/)
 * Hello, I’m receiving the PHP strict error `Notice: Undefined index: version` 
   on line 145 of class-eeb-admin.php when WP_DEBUG is true. This appears when
    
   _Replace plain email addresses to protected mailto links_ is checked and then
   saved in the main settings panel.
 * Looks like it just needs to check `$saved_options['version']` exists before it
   is used.
 * [https://wordpress.org/plugins/email-encoder-bundle/](https://wordpress.org/plugins/email-encoder-bundle/)

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

 *  [Robert Trevellyan](https://wordpress.org/support/users/trevellyan/)
 * (@trevellyan)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-strict-error-undefined-index-version/#post-5243923)
 * I’m seeing this error regardless of whether ‘Protect mailto links’ is checked.
 * In what may be a related issue, the ‘Use shortcodes in widgets’ and ‘Use deprecated
   names’ options cannot be turned off.
 *  [Robert Trevellyan](https://wordpress.org/support/users/trevellyan/)
 * (@trevellyan)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-strict-error-undefined-index-version/#post-5243924)
 * The update to 1.2.1 has taken care of the PHP error, but I’m still unable to 
   turn off ‘Use shortcodes in widgets’ and ‘Use deprecated names’.
 *  [Pi Zi](https://wordpress.org/support/users/freelancephp/)
 * (@freelancephp)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-strict-error-undefined-index-version/#post-5243925)
 * You’re right. That will be solved in version 1.3.0.
 *  [Robert Trevellyan](https://wordpress.org/support/users/trevellyan/)
 * (@trevellyan)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-strict-error-undefined-index-version/#post-5243926)
 * OK, thanks for the update and for maintaining this plugin, I install it on every
   site I build.

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

The topic ‘PHP Strict error – Undefined index: version’ is closed to new replies.

 * ![](https://ps.w.org/email-encoder-bundle/assets/icon-256x256.png?rev=2056506)
 * [Email Encoder - Protect Email Addresses and Phone Numbers](https://wordpress.org/plugins/email-encoder-bundle/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-encoder-bundle/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-encoder-bundle/)
 * [Active Topics](https://wordpress.org/support/plugin/email-encoder-bundle/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-encoder-bundle/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-encoder-bundle/reviews/)

## Tags

 * [email](https://wordpress.org/support/topic-tag/email/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [Strict](https://wordpress.org/support/topic-tag/strict/)

 * 4 replies
 * 3 participants
 * Last reply from: [Robert Trevellyan](https://wordpress.org/support/users/trevellyan/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/php-strict-error-undefined-index-version/#post-5243926)
 * Status: resolved