Support » Theme: Gridsby » Bug in js/share.js file – call to suspended domain

  • On the Chrome console there is a connection refused error for a call to https://www.sharebutton.co/fonts/v2/entypo.min.css. This is being generated in the js/share.js file on lines 373-374 but the http://www.sharebutton.co domain has been suspended:

    
            Share.prototype.inject_icons = function() {
                return this.inject_stylesheet("//www.sharebutton.co/fonts/v2/entypo.min.css");
    

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • As a workaround I replaced the url in the string with a dummy url to a similar stylesheet resource. The site works fine and there is no longer a 404 error. Note that the site does not use any of Gridsby’s in-built social sharing.

    To do this, using cPanel, FileZilla (FTP) or whatever file manager your host provides, navigate to the wp-content/themes/gridsby/js/ directory. Save a copy of share.js so you can re-upload this file if you have any problems. Then open the share.js file (I use NotePad++ for this on Windows), scroll down to line 374 and replace //www.sharebutton.co/fonts/v2/entypo.min.css with //fontlibrary.org/face/entypo. Then save and check the site for any visible issues. Finally, scan your site load through https://tools.pingdom.com. You shouldn’t see any red 404 errors for this resource.

    Have also encountered this. The domain at sharebutton.co seems to be suspended.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug in js/share.js file – call to suspended domain’ is closed to new replies.