Support » Plugin: Simple Staff List » Error can't resolve host

  • Resolved haleeben

    (@haleeben)


    Hey Brett

    I haven’t been able to update any plugins and was also getting an error when trying to authorize the Google Analytics Dashboard for WordPress
    plugin both errors say can’t resolve host, and unfortunately your plugin seems to be the cause, I disabled your plugin and I get no more errors.

    Any ideas what might be causing this ?. I had a quick scan through your code but I couldn’t find anything.

    http://wordpress.org/extend/plugins/simple-staff-list/

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Brett Shumaker

    (@brettshumaker)

    Hey haleeben,
    I can’t think of anything I’m doing in my plugin that would be conflicting with an analytics plugin. Can you post a link to the exact plugin you’re using and I’ll try to see what’s going on.

    Thanks!

    Hey Brett

    It’s not just the analytics plugin but it’s all plugins and WordPress, can’t update anything. The only way I can update anything is to deactivate your plugin.

    Plugin Author Brett Shumaker

    (@brettshumaker)

    I can’t remember, are you using a modified version of the plugin?

    Also, did this just start? Or have you had this problem from the beginning?

    Hey Brett

    I have modified it but only to display thumbnails

    File – user-view-show-staff-list.php – line 92 added the code below to give a no image placeholder

    if(has_post_thumbnail()){
    
                    $photo_url = wp_get_attachment_image_src( get_post_thumbnail_id(), $image_size );
                    $photo_url = $photo_url[0];
                    $photo = '<img class="staff-member-photo" src="'.$photo_url.'" alt = "'.$title.'">';
    
                }else{
                    $photo_url = '';
                    $photo = '<img class="staff-member-photo" src="'.site_url("wp-content/uploads/2013/04/image_placeholder.png").'" alt = "'.$title.'">';
                }

    I think I’ve been having the problem from the beginning but only recently linked it to the plugin.

    Hey Brett

    I just installed your plugin on a different site and managed to update the plugins with no problems, so not sure what’s going on with the other site.

    Plugin Author Brett Shumaker

    (@brettshumaker)

    Ok, I thought you might have been using that mod.

    Well, I’m not really sure what could be causing that issue on that one site. But I’m glad to see that it is working on another site of yours. Are the two sites on the same host? My only other thought is that it could be some strange permissions or server setup issue.

    Hey Brett

    With my last post I hadn’t add the shortcode to a page and when I did that I couldn’t update and got the error couldn’t resolve host message. So the error doesn’t happen with the plugin activated but does happen when the shortcode [simple-staff-list] is added to a page.

    Plugin Author Brett Shumaker

    (@brettshumaker)

    Ok, well I’m unable to duplicate the issue using the no image placeholder mod. But it sounds like it would be something within the ‘user-view-show-staff-list.php’ file. I guess you could work through that file, commenting sections out until you can pin point the problem. But I just don’t see anything in that file that could be causing those kinds of errors.

    So you can update wordpress and plugins without any errors while using the simple staff list plugin?

    Plugin Author Brett Shumaker

    (@brettshumaker)

    Yep. I added in the no image placeholder mod to my test install and was able to go into the backend and update a plugin via the WordPress admin area.

    Hi Brett,

    Cool plugin, thanks for providing it. I’m having a similar conflict with Akismet. When Simple Staff List is enabled, Akismet cannot connect to the servers. As soon as I disable Simple Staff List, connectivity for Akismet works like a champ. Any ideas?

    Brett,

    I’ve encountered this issue as well. All plugins on a site where Simple Staff List was installed could not be updated. Disabled your plugin and everything updated fine. I was able to reproduce the problem on two different sites.

    Plugin Author Brett Shumaker

    (@brettshumaker)

    What kind of server environment is everyone running? I’ve not had this issue and I can’t reproduce it either. I’ve got this plugin running on a Dreamhost shared server, Amazon Web Server, and WPEngine with no issues.

    I’ve been trying to ask around to some other devs about this issue and everyone is coming up blank. Has anyone checked their server’s error log to see if anything is showing up in that?

    @dahows @fat Media :: Are you two running an un-modded version of Simple Staff List?

    Brett,

    The sites I had this issue on are on a shared HostGator account. The plugin is unmodified. I’ve been running through some of your code trying to find the problem but I haven’t found the issue yet.

    Hey Brett

    Yeah I’m on a HostGator shared server as well.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Error can't resolve host’ is closed to new replies.