Title: Object Returning Null WPEngine Hosting
Last modified: April 23, 2019

---

# Object Returning Null WPEngine Hosting

 *  [mwhiteley16](https://wordpress.org/support/users/mwhiteley16/)
 * (@mwhiteley16)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/object-returning-null-wpengine-hosting/)
 * Hey!
 * I’m using the following to output the Simple Share icons in a custom file:
 *     ```
       if( function_exists( 'genesis_share_get_icon_output' ) ) {
            global $Genesis_Simple_Share;
            echo '<div class="share-icons">';
                 echo '<div class="share-icons__icon"></div>';
                 genesis_share_icon_output( 'icons__con', $Genesis_Simple_Share->icons );
            echo '</div>';
       }
       ```
   
 * It works fine locally (Local by Flywheel) but when I push to WPEngine I receive
   the following error.
 * : Trying to get property ‘icons’ of non-object (on the genesis_share_icon_output
   line).
 * When I do a var_dump of $Genesis_Simple_Share on WPE it returns NULL, but locally
   it returns the object.
 * Any ideas?

Viewing 1 replies (of 1 total)

 *  Thread Starter [mwhiteley16](https://wordpress.org/support/users/mwhiteley16/)
 * (@mwhiteley16)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/object-returning-null-wpengine-hosting/#post-11459010)
 * Looks like this is not hosting related at all. Since the update to 1.1.2 the 
   documentation in the wiki doesn’t work for displaying the icons in a custom area
   of a site. Just need to update the wiki with modified snippets that work with
   1.1.2+.
 * [https://github.com/studiopress/genesis-simple-share/wiki/Usage-Tips](https://github.com/studiopress/genesis-simple-share/wiki/Usage-Tips)

Viewing 1 replies (of 1 total)

The topic ‘Object Returning Null WPEngine Hosting’ is closed to new replies.

 * ![](https://ps.w.org/genesis-simple-share/assets/icon.svg?rev=3358434)
 * [Genesis Simple Share](https://wordpress.org/plugins/genesis-simple-share/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/genesis-simple-share/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/genesis-simple-share/)
 * [Active Topics](https://wordpress.org/support/plugin/genesis-simple-share/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/genesis-simple-share/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/genesis-simple-share/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [mwhiteley16](https://wordpress.org/support/users/mwhiteley16/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/object-returning-null-wpengine-hosting/#post-11459010)
 * Status: not resolved