Title: Notice: Undefined variable: instance
Last modified: May 17, 2022

---

# Notice: Undefined variable: instance

 *  Resolved [WPReady](https://wordpress.org/support/users/wpready/)
 * (@wpready)
 * [4 years ago](https://wordpress.org/support/topic/notice-undefined-variable-instance/)
 * Hello
    this is happening in the Field Builder Page when selecting most of the
   types. Is there a workaround / fix?

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

 *  Plugin Author [Estatik](https://wordpress.org/support/users/estatik/)
 * (@estatik)
 * [4 years ago](https://wordpress.org/support/topic/notice-undefined-variable-instance/#post-15655677)
 * Hi there,
 * Could you please provide us with a screenshot so we could reproduce the issue?
   Does it happen when you select a field type?
 * Thank you.
 *  Thread Starter [WPReady](https://wordpress.org/support/users/wpready/)
 * (@wpready)
 * [4 years ago](https://wordpress.org/support/topic/notice-undefined-variable-instance/#post-15657212)
 * Ok, not exactly an explicit error.
    I was changing error level:
 * ini_set(‘display_errors’, 1);
    ini_set(‘display_startup_errors’, 1); error_reporting(
   E_ALL);
 * and after that field type selection returned errors like
    Notice: Undefined variable:
   instance in D:\……. \wp-content\plugins\estatik\admin\templates\fields-builder\
   partials\options\multiple.php on line 31
 * So is not a real issue per se.
 * What is an issue is that I have some sort of problem with selection field
    According
   [https://estatik.net/estatik-plugin-documentation/#cat-5](https://estatik.net/estatik-plugin-documentation/#cat-5)(
   9.2) I could add many values, however I only can see a box to add one element
   and nothing else.
 *  Plugin Author [Estatik](https://wordpress.org/support/users/estatik/)
 * (@estatik)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/notice-undefined-variable-instance/#post-15678461)
 * Hi there,
    We added the fix to the coming release. You can also contact us via
   our website and we can provide with this fix if you need it sooner. The release
   is almost ready and will be out this week. Thanks.
 *  Thread Starter [WPReady](https://wordpress.org/support/users/wpready/)
 * (@wpready)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/notice-undefined-variable-instance/#post-15678921)
 * That would be great.
 * I’m working with an old client , it has a VERY old WP site with an anciente real
   state theme (the author was WooThemes which dropped support several years ago).
 * This contraption worked for almost 12 years (!).
 * I said ‘contraption’ since the original theme had a lot of issues: all the code
   was embedded in a theme, there wasn’t a clean separation from theme and plugin
   code like estatik does. Customization was frankly daunting, and there was a lot
   of bugs to be fixed in order of getting a final design according client’s requirements.
 * Now the client is asking for a responsive theme…
    Making the proper tweaks to
   the original theme seems an unsurmountable task, since the theme wasn’t designed
   for being responsive.
 * So I suggested migrating to estatik+responsive theme. Even the client agreed,
   there was a hurdle: we’d need to move all real state data from one site to another.
   That meant converting a CPT to estatik CPT.
 * In order to do that I ‘extended’ estatik. Instead of loading demo data using 
   a PHP class with info, I changed the plugin to be able load data from JSON files.
   
   That allowed me to load real state data in a easier, more manageable way.
 * The second thing was converting CPT data from the old site, saving to a compatible
   JSON file. This JSON file is later loaded from estatik into the estatik’s CPT.
 * So far things are worked fine. We’ll see how the things will go.

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

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

 * ![](https://ps.w.org/estatik/assets/icon-256x256.png?rev=2819514)
 * [Estatik Real Estate Plugin](https://wordpress.org/plugins/estatik/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/estatik/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/estatik/)
 * [Active Topics](https://wordpress.org/support/plugin/estatik/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/estatik/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/estatik/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [WPReady](https://wordpress.org/support/users/wpready/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/notice-undefined-variable-instance/#post-15678921)
 * Status: resolved