Forum Replies Created

Viewing 15 replies - 16 through 30 (of 36 total)
  • Thread Starter Liddika

    (@liddika)

    I was just contacted by several people who are using GoDaddy Linux Web hosting with cPanel, and all their websites are down as well. I contacted GoDaddy technical support, and I was told they are getting a lot of calls because of this.

    They asked me to turn of all auto updates for WordPress and delete the wp-spamshield folder.

    I think this is the nightmare of any plugin developer, as well as website owners running WordPress, when by default automatic update is on, and a faulty version is distributed automatically across 100,000s of websites.

    Since this affects GoDaddy linux hosting, serverpilot.io/digitalocean hosting, and people here are reporting it happens on a fresh WP installation, I would really consider pulling the emergency break and pull this release, otherwise websites keep automatically update and break.

    Thread Starter Liddika

    (@liddika)

    Update:

    When I ping several of my domains, they say “Host not found”. As far as I know, PHP can’t have that affect. On a website running PHP 7, I get more detailed error logs. That being said, those websites that are resolving correctly, show an error 500.

    
    [21-Jan-2017 23:38:37 UTC] PHP Fatal error:  Uncaught Error: Class 'WPSS_Utils' not found in /srv/users/mysite/apps/mysite/public/wp-content/plugins/wp-spamshield/wp-spamshield.php:7323
    Stack trace:
    #0 /srv/users/mysite/apps/mysite/public/wp-content/plugins/wp-spamshield/wp-spamshield.php(217): WP_SpamShield::sanitize_ip('127.0.0.1')
    #1 /srv/users/mysite/apps/mysite/public/wp-content/plugins/wp-spamshield/wp-spamshield.php(48): rs_wpss_getenv()
    #2 /srv/users/mysite/apps/mysite/public/wp-settings.php(273): include_once('/srv/users/aeda...')
    #3 /srv/users/mysite/apps/mysite/public/wp-config.php(37): require_once('/srv/users/aeda...')
    #4 /srv/users/mysite/apps/mysite/public/wp-load.php(39): require_once('/srv/users/aeda...')
    #5 /srv/users/mysite/apps/mysite/public/wp-blog-header.php(13): require_once('/srv/users/aeda...')
    #6 /srv/users/mysite/apps/mysite/public/index.php(17): require('/srv/users/aeda...')
    #7 {main}
      thrown in /srv/users/mysite/apps/mysite/public/wp-content/plugins/wp-spamshield/wp-spamshield.php on line 7323
    

    So I wonder, is this a complete coincidence that dozens of my domains don’t resolve their IP correctly at the same moment where all my websites automatically update to new WP Spam Shield version? Is there a worldwide DNS issue? (GoDaddy seems okay), or is this an issue with my sever admin software (serverpilot)?

    I am very confused.

    I have the exact same issue. Are you guys using serverpilot.io by any chance? Because many of my domains are not resolving correctly on top of the WP SpamShield issue. (pinging them says could not find host, even though they are correctly setup).

    I am not sure if this is related to WP Spamshield or an update on serverpilot.io along with WP Spamshield.

    Either way, I have not touched any of my websites, and ALL 300+ websites show error 500, and some of them show DNS error.

    I have the exact same issue. Are you guys using serverpilot.io by any chance? Because many of my domains are not resolving correctly on top of the WP SpamShield issue. (pinging them says could not find host, even though they are correctly setup).

    I am not sure if this is related to WP Spamshield or an update on serverpilot.io along with WP Spamshield.

    Either way, I have not touched any of my websites, and ALL 300+ websites show error 500, and some of them show DNS error.

    Thread Starter Liddika

    (@liddika)

    I am doing this in a plugin, and I have tried about 10 different themes, including the official 2014, 2015, 2016 and the _s theme. They all have the same behavior.

    I can’t seem to find any answers anywhere regarding this question.

    Wordpress docs all have a nice hierarchy and template explination, but nowhere does it actually explain how WordPress determines when it’s a post,page or archive. From trial and error I can only guess that if the slug or p parameter in the URL is absent, then WordPress makes a call to the archive page.

    Seems to be a very basic question, and I can’t figure out why no one in the more than 10 years of WordPress development has ever asked this question.

    Thread Starter Liddika

    (@liddika)

    Sorry, there’s a part of my code missing, and I can’t modify the original post. Here’s the missing function. Not sure if it’s relevant to my issue.

    // Create custom post type link for movies
    function movie_post_type_link( $link, $post = 0 ){
        if ( $post->post_type == 'movies' ){
    
    			$id = $post->ID;
    			$post = &get_post($id);
    			$movie_id = get_post_meta($post->ID,'movie_id', true);
    			
    			empty ( $post->slug )
                and $post->slug = sanitize_title_with_dashes( $post->post_title );
    			return home_url(
               user_trailingslashit( "movies/$movie_id/$post->slug" )
            );
        } else {
            return $link;
        }
    }
    add_filter( 'post_type_link', movie_post_type_link, 1, 2 );
    
    Thread Starter Liddika

    (@liddika)

    Thanks for clearing that up.
    1 Star rating removed.

    Thread Starter Liddika

    (@liddika)

    Ah perfect. Thank you 🙂

    Thread Starter Liddika

    (@liddika)

    Ah wait, I see you are using a custom field called “fifu_image_url”. That should do the trick.

    Thread Starter Liddika

    (@liddika)

    Left your a written feedback 5/5

    Absolutely amazing work! Thank you so much.

    Thread Starter Liddika

    (@liddika)

    Oh I think I misunderstood this plugin. This only shows a list of posts that the current user visited and not globally?

    Thread Starter Liddika

    (@liddika)

    Oh wait, this plugin only shows the posts visited by the user itself, and not globally?

    Thread Starter Liddika

    (@liddika)

    Ah, using parameter suppress_default_fields=true seems to work. I think this should be default when using fields, otherwise it will always break the form.

    Thread Starter Liddika

    (@liddika)

    I have now tested the plugin on 4 completely different websites, all different hosts. Same error happens on all. And since I am using your example code, I assume the error is not on my side.

    In other words, I think your plugin is broken at the moment.

    Thread Starter Liddika

    (@liddika)

    Hello Chris,

    Thank you so much for your Help. Of course, creating a 3rd menu just for ShiftNav, that’s the perfect solution for me. Don’t know why I didn’t think of that 🙂
    Thanks again!

Viewing 15 replies - 16 through 30 (of 36 total)