Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • I noticed the same thing, I was having all sorts of mysql issues with the cron jobs in my error logs.

    I ran the fix, and it cleaned it up.

    I’m running WordPress 4.3. I implemented the fix in the taxonomy.
    It was odd for me, because the issue really didn’t manifest itself for about 2 weeks. I guess it took that long for the cron table to fill up. Additionally, it showed up by my homepage having too many redirects. that’s quite odd.

    I am having the same issue. too many cron jobs being created causing the server to crash.

    I implemented this fix: https://ww.wp.xz.cn/support/topic/high-cpu-load-after-update-to-v43?replies=82#post-7330770

    We’ll see if that fixes it. So far so good.

    Thanks for the WordPress community and Otto for fixing it. One of the more damaging bugs for an upgrade though.

    Thread Starter scott9s

    (@scott9s)

    Wow. Nice response. I was trying to help with the plugin. and you give me a response like this:

    Mindshare Studios, Inc. wrote:
    Whoa! I guess since you’re so smart you should be able to figure it out yourself!

    If I seem frustrated in my responses, I apologize. I just spent a week’s worth of time debugging my site looking at my nginx configuration and my php-fpm configuration. Thinking the same thing as you: that my server must be using its memory resources improperly.

    I disabled the latest version of this plugin, and bad gateway errors go away. I enable the latest version of this plugin, the bad gateway errors come back.

    Now, it could be my code that relies on your plugin that is causing errors.

    Here’s my code:

    <?php 
    
    function svg_blog() {
      if(is_ie() && get_browser_version() <= 8) {
        $icon = '<img src="'.SVG_URL.'blog.png" alt="Blog Icon" class="icon icon-blog" />';
      } else  {
        $icon = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 58.2 56.5" enable-background="new 0 0 58.2 56.5" xml:space="preserve" class="icon icon-blog"><path d="M29.6 54.8C14.9 54.8 3 42.9 3 28.2s12-26.7 26.7-26.7c14.7 0 26.7 12 26.7 26.7S44.3 54.8 29.6 54.8z M29.6 3C15.8 3 4.5 14.3 4.5 28.2s11.3 25.2 25.2 25.2c13.9 0 25.2-11.3 25.2-25.2S43.5 3 29.6 3z" class="style0"/><path d="M42.1 44.8h-25c-0.9 0-1.7-0.8-1.7-1.7V13.3c0-0.9 0.8-1.7 1.7-1.7H34l9.9 9.8V43 C43.9 44 43.1 44.8 42.1 44.8z M17.1 13.1c-0.1 0-0.2 0.1-0.2 0.2V43c0 0.1 0.1 0.2 0.2 0.2h25c0.1 0 0.2-0.1 0.2-0.2v-21l-9-9H17.1 z" class="style0"/><path d="M43.2 22h-8.3c-0.9 0-1.6-0.7-1.6-1.6v-8.3L43.2 22z M34.8 15.6v4.8c0 0.1 0 0.1 0.1 0.1h4.8L34.8 15.6z" class="style0"/><path d="M26.8 23.7h-8.2v-8.9h8.2V23.7z M20.2 22.2h5.2v-5.9h-5.2V22.2z" class="style0"/><rect x="27.5" y="15.9" width="5.1" height="1.5" class="style0"/><rect x="27.5" y="20.7" width="5.1" height="1.5" class="style0"/><rect x="18.3" y="30.2" width="22.4" height="1.5" class="style0"/><rect x="18.4" y="25.4" width="22.4" height="1.5" class="style0"/><rect x="18.3" y="34.9" width="22.4" height="1.5" class="style0"/><rect x="18.3" y="39.7" width="22.4" height="1.5" class="style0"/></svg>';
      }
      return $icon;
    }

    I then call that function: svg_blog() in my theme anywhere I want that icon.

    function sf_icon_func( $atts ) {
    	extract( shortcode_atts( array(
    		'icon' => ''
    	), $atts ) );
    
      if($icon == 'blog') {
        return svg_blog();
    }
    }
    add_shortcode( 'svgicon', 'sf_icon_func' );

    Again, this worked great in the previous version of the plugin. But, the latest version, in FireFox and IE, it had issues. Chrome had some issues, but not as much, and Safari had No issues.

    I have not dug into the plugin code. I was just trying to help. I always feel that Open Source code and plugins will work better when people using them and involved try to help each other out.

    Thread Starter scott9s

    (@scott9s)

    I have 6 CPU cores & 8 GB of RAM, I am using only ⅛ of the RAM, and php-fpm has plenty of RAM. Each pool item in my php-fpm pool uses about 70 MB and I have about 20 as minimum in the pool. max 70.

    6 nginx worker processors

    I don’t think I’m running out of RAM.

    Now, I don’t doubt it could be a misconfiguration of nginx. But I have had three different people look at my configuration.

    The solution of dropping your plugin down to previous version fixes it for me.

    hmm. steps for you to duplicate it. I’ll have to think how I can get you to do that. Let me look at my code.

    Thread Starter scott9s

    (@scott9s)

    I don’t think I was out of memory. I’ll look at the memory deeper.

    The issue happen all the time in Firefox
    On Safari, the problem did not occur at all.
    On Internet Explorer, the problem occurred sometimes. Frequent enough to notice.
    Google Chrome, rarely received the 502 bad gateway, but sometimes it did happen.

    What else would you like to know?

    Thread Starter scott9s

    (@scott9s)

    To avoid SEO issues and analytics converting traffic to direct traffic, what I have done is 301 redirected and changed in the database everything on my site to https. So, that’s why you get the redirect.

    I’m going to leave my site all https for a while and see how that impacts my site.

    It is not an ideal solution nor does it solve the root problem, but having everything hosted as https is better than having a sitemap telling google all my pages are https when in reality they were http and then getting all the SEO mixed up.

    Thanks for trying/replying Pothi.

    I have the same issue: I tried to do a fresh install:

    Plugin could not be activated because it triggered a fatal error.
    
    Fatal error: Uncaught exception 'FileOperationException' with message 'C:\inetpub\wwwroot\mysupercooldomain/wp-content/w3tc-config/master.php could not be created, please run following command:
    chmod 777 C:\inetpub\wwwroot\mysupercooldomain/wp-content/w3tc-config' in C:\inetpub\wwwroot\mysupercooldomain\wp-content\plugins\w3-total-cache\inc\functions\activation.php:117 Stack trace: 
    
    #0 C:\inetpub\wwwroot\mysupercooldomain\wp-content\plugins\w3-total-cache\lib\W3\ConfigWriter.php(159): w3_throw_on_write_error('C:\inetpub\wwwr...')
    #1 C:\inetpub\wwwroot\mysupercooldomain\wp-content\plugins\w3-total-cache\lib\W3\ConfigWriter.php(421): W3_ConfigWriter->save()
    #2 C:\inetpub\wwwroot\mysupercooldomain\wp-content\plugins\w3-total-cache\inc\functions\update.php(58): W3_ConfigWriter->import_legacy_config_and_save()
    #3 C:\inetpub\wwwroot\mysupercooldomain\wp-content\plugins\w3-total-cache\lib\W3\Plugin\TotalCacheAdmin.php(298): w3_run_legacy_update()
    #4 C:\inetpub\www in C:\inetpub\wwwroot\mysupercooldomain\wp-content\plugins\w3-total-cache\inc\functions\activation.php on line 117

    Anyone have any solutions?

    I got the same error with the same isolation. too many redirects. Basically, what I gather, wp-config is sending admin/login requests to SSL. However, HTTPS plugin thinks it should force it exclusively and redirects to HTTP which then redirects to HTTPS due to wp-config settings and then the redirect loop begins.

    For now, I was able to change my wp-config settings to false. then I turned on in the HTTPS plugin settings to Force SSL Administration. I’d rather not do that. I’d rather do that setting in the wp-config file. Definitely think this is a bug.

    Here’s what I did to fix my problem.

    First: I deleted all the thumbnail images in the database.
    example:
    delete sf_postmeta from sf_postmeta inner join sf_posts on sf_postmeta.post_id = sf_posts.id where sf_posts.post_date < '2011-10-02' and sf_posts.post_type in ('photo','plan','post') and sf_postmeta.meta_key = '_thumbnail_id';

    Second: I downloaded the Auto Post Thumbnail Plugin and Edited the Plugin by applying the fix as determined in this post: http://ww.wp.xz.cn/support/topic/plugin-auto-post-thumbnail-wordpress-34-previously-generated-thumbnails-missing-wont-generate-new-ones?replies=43#post-2891893

    Then: I auto-generated my images which recreated the thumbnail images for all the posts that were missing the field in the database that we deleted in the first post.

    Just to be clear though: This did not Bulk re-attach all the images that were already in the posts. It just generated a new thumbnail based upon the images I did have.

    I having the same problem: 95% of my featured images are gone. They are still there on the file system. It appears that WordPress sees the attached featured image in the media library for that post as a 0px by 0px image.

    I also have a problem similar to @nvtyson.

    In the past, I did have to generate these thumbnails, and I used Regenerate Thumbnails plugin. I did this, because many of my posts do not have the images “attached”.

    During an export and import from one server to another, many of the images became detached. So, I wonder if that is part of the problem.

    (side-note: I’d love to know how to BULK re-attach images to posts that already have the images inside them.) More pressing, is how to fix all these featured images without have to manually go through. I have over 170 custom post types that need it and then probably another 300 blog posts missing featured items.

    This problem is related to wp3.4. I do not have this problem for the same website using wp 3.3

    I’ve been having the same issue with the google sitemap plugin.

    The hack above worked, but obviously, not the best model.

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