Title: Causing errors in the customizer
Last modified: November 6, 2017

---

# Causing errors in the customizer

 *  [minachu](https://wordpress.org/support/users/minachu/)
 * (@minachu)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/causing-errors-in-the-customizer/)
 * Hi there,
 * While in customizer, I can’t seem to click any links I have, even clicking post
   titles doesn’t take you to posts.
 * This is the error I see in the console:
    Uncaught TypeError: $(…).sharrre is 
   not a function
 * When I disable the plugin, everything works fine.

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

 *  [Nick C](https://wordpress.org/support/users/modernnerd/)
 * (@modernnerd)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/causing-errors-in-the-customizer/#post-9658437)
 * Hi, [@minachu](https://wordpress.org/support/users/minachu/)!
 * First, it would be worth reinstalling Simple Share to make sure all files are
   present and that you’re running 1.1.1.
 * If that does not fix things, it sounds like the sharrre JavaScript library is
   not being enqueued in the Customizer. It’s possible that minification or other
   performance plugins could cause this. If you disable other plugins, does Simple
   Share then work for you?
 * If you still see the issue with other plugins disabled, please could you file
   a support ticket at [https://my.studiopress.com/help/](https://my.studiopress.com/help/)
   and be sure to include a link to your site? We’d be happy to take a closer look
   for you.
 *  Thread Starter [minachu](https://wordpress.org/support/users/minachu/)
 * (@minachu)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/causing-errors-in-the-customizer/#post-9658529)
 * Hi Nick,
 * Thank you for the reply, I did what you said, I even installed the plugin on 
   a new blog using the Genesis Sample theme, but the issue still persists.
 * Please note that it only happens when I use a code like this one:
 *     ```
       // Reposition the Genesis Simple Share buttons
       add_action( 'genesis_entry_footer', 'bg_reposition_simple_share', 1 );
       function bg_reposition_simple_share() {
               if( 'post' === get_post_type() && is_single() ) {
                   global $Genesis_Simple_Share;
                   echo '<div class="share-buttons"><h3 class="share-title">' . __( 'Share this post', 'theme-name' ) . '</h3>';
                   genesis_share_icon_output( 'after-entry', $Genesis_Simple_Share->icons );
                   echo '</div>';
               }
       }
       ```
   
 * And I skipped selecting a display position. I have no other plugins, and version
   is 1.1.1
 * I’ll be sending a support ticket shortly.
    Thank you for your time.
    -  This reply was modified 8 years, 6 months ago by [minachu](https://wordpress.org/support/users/minachu/).
    -  This reply was modified 8 years, 6 months ago by [minachu](https://wordpress.org/support/users/minachu/).
 *  [pmcgilvray](https://wordpress.org/support/users/pmcgilvray/)
 * (@pmcgilvray)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/causing-errors-in-the-customizer/#post-10120439)
 * Hey Minachu – did you ever get this worked out? I’m having the exact same issue
   and cannot find a solution.
 *  Thread Starter [minachu](https://wordpress.org/support/users/minachu/)
 * (@minachu)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/causing-errors-in-the-customizer/#post-10121361)
 * Hey Pmcgilvray!
 * Unfortunately I couldn’t find a proper solution so I opted to excluding the share
   buttons from the customizer by using this:
 *     ```
       if (!is_customize_preview()) {
       ...
       }
       ```
   
 * Like this:
 *     ```
       // Reposition the Genesis Simple Share buttons
       function bg_reposition_simple_share() {
           if (!is_customize_preview()) {
               if( 'post' === get_post_type() && is_single() ) {
                   global $Genesis_Simple_Share;
                   echo '<div class="share-buttons"><h3 class="share-title">' . __( 'Share this post', 'theme-name' ) . '</h3>';
                   genesis_share_icon_output( 'after-entry', $Genesis_Simple_Share->icons );
                   echo '</div>';
               }
           }
       }
       ```
   
 * Hope this helped! 🙂

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

The topic ‘Causing errors in the customizer’ 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/)

 * 4 replies
 * 3 participants
 * Last reply from: [minachu](https://wordpress.org/support/users/minachu/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/causing-errors-in-the-customizer/#post-10121361)
 * Status: not resolved