Title: Code Embed: variable found_pos undefined
Last modified: August 13, 2017

---

# Code Embed: variable found_pos undefined

 *  [jfq3](https://wordpress.org/support/users/jfq3/)
 * (@jfq3)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/code-embed-variable-found_pos-undefined/)
 * I am trying to use Code Embed to include an html file in a post. It works, but
   the first two line in the post are:
    Notice: Undefined variable: found_pos in
   C:\xampp\htdocs\wordpress\wp-content\plugins\simple-embed-code\includes\add-embeds.
   php on line 148 This occurs in a local version of my site. I do not want to post
   it publicly until I can resolve the issue.

Viewing 1 replies (of 1 total)

 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/code-embed-variable-found_pos-undefined/#post-9410421)
 * Hi [@jfq3](https://wordpress.org/support/users/jfq3/),
 * Yea, it looks as if that’s something I need to look at. However, on a live site
   you shouldn’t see the errors – I’m guessing your local site has debug output 
   switched on, which is why you’re seeing these PHP notices.

Viewing 1 replies (of 1 total)

The topic ‘Code Embed: variable found_pos undefined’ is closed to new replies.

 * ![](https://ps.w.org/simple-embed-code/assets/icon.svg?rev=3073981)
 * [Code Embed](https://wordpress.org/plugins/simple-embed-code/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-embed-code/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-embed-code/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-embed-code/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-embed-code/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-embed-code/reviews/)

## Tags

 * [code embed](https://wordpress.org/support/topic-tag/code-embed/)
 * [undefined variable](https://wordpress.org/support/topic-tag/undefined-variable/)

 * 1 reply
 * 2 participants
 * Last reply from: [David Artiss](https://wordpress.org/support/users/dartiss/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/code-embed-variable-found_pos-undefined/#post-9410421)
 * Status: not resolved