Forum Replies Created

Viewing 15 replies - 166 through 180 (of 360 total)
  • Thread Starter Will Stocks

    (@willstockstech)

    Added tags for 1.9.1 and 1.9.2 just for reference!

    Thread Starter Will Stocks

    (@willstockstech)

    I can confirm – the issues still exist with 1.9.2 (I’ve moved hosting and have access to lower level logs).

    @amazonlinkbuilder – can you provide some sort of ETA for a fix please?

    I setup a fresh install of WordPress (and dupe of my site) on a domain that only I would hit/know. I’m getting rate limiting errors. Why am I hitting the rate limit with no traffic/no views on pages with Amazon products?!

    AALB also retains a steady level of CPU usage, which is strange… considering again no pages with products are being viewed/hit to justify needing the level of processing power it’s currently using (or outbound requests it’s making).

    I’ve reverted back to 1.8.0 and it has “somewhat” normalised, but is still consuming a steady and consistent 2% CPU minimum, and I’m still getting API throttling errors (again – no pageviews).

    If the API calls are to update product info, shouldn’t that be being doing via a _single_ cron job and updating all relevant products in a single call rather than multiple simultaneous calls out or high frequency cron jobs?

    The /wp-admin/admin-ajax.php?action=aalb_update_table&nonce=ea32cd6f3d confuses me because I’m not going anywhere near posts or the AALB plugin to justify this POST being made?

    It’s all very confusing! Lol!

    @amazonlinkbuilder – is there any info I can provide to assist with rectifying? My PHP skills are fairly limited but I will do what I can!!!!

    Thread Starter Will Stocks

    (@willstockstech)

    OK – Can confirm that the issue no longer appears to exist! I’m now running 0.9.2 on my DO server and everything _appears_ to be working OK!

    Therefore, it leads me to believe it’s something hosting/config-side, but I’m not sure where to start with regards to helping with that as I had no nginx.conf/apache virtualhost access @ Cloudways – but I’m leaning towards aggressive caching server-side or incompatible caching methods in W3TC being the issue!

    Thread Starter Will Stocks

    (@willstockstech)

    I have recently switched hosting, directly with DigitalOcean now, so I have full control over my nginx.conf file.

    I will retry upgrading now. My nginx conf at the moment has the following in it relating to caching:
    `
    set $skip_cache 0;
    set $skip_reason “”;
    proxy_cache_key $scheme$host$request_uri;

    if ($http_cookie ~* “comment_author_|wordpress_(?!test_cookie)|wp-postpass_” ) {
    set $skip_cache 1;
    set $skip_reason Cookie;
    }

    if ($request_uri ~* “/wp-admin/|/xmlrpc.php|wp-.*.php|/feed/|sitemap(_index)?.xml”) {
    set $skip_cache 1;
    set $skip_reason URI;
    }
    add_header Cache-BYPASS-Reason $skip_reason;

    location / {
    try_files $uri $uri/ /index.php?$args;
    proxy_buffering on;
    proxy_cache edge-cache;
    proxy_cache_revalidate on;
    proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
    proxy_cache_bypass $skip_cache;
    proxy_no_cache $skip_cache;
    proxy_cache_valid 200 301 302 500m;
    proxy_cache_valid 404 1m;
    add_header X-Cache-Status $upstream_cache_status;
    #add_header X-Handled-By $proxy_host;
    add_header Cache-BYPASS-Reason $skip_reason;
    }

    location ~ \.php$ {
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_pass http://127.0.0.1:8080$request_uri;
    add_header Front-End-Https on;
    proxy_redirect off;
    proxy_buffering on;
    proxy_cache edge-cache;
    proxy_cache_revalidate on;
    proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
    proxy_cache_bypass $skip_cache;
    proxy_no_cache $skip_cache;
    proxy_cache_valid 200 301 302 500m;
    proxy_cache_valid 404 1m;
    add_header X-Cache-Status $upstream_cache_status;
    #add_header X-Handled-By $proxy_host;
    add_header Cache-BYPASS-Reason $skip_reason;
    }
    `

    I did originally have Apache set to use mod_disk_cache as well, but that broke my entire site completely (every single URL would point to a single file – whichever was visited first and cached) which I’m still yet to work out why/what’s happening there.

    Thread Starter Will Stocks

    (@willstockstech)

    Thanks for confirming @dschmidthawk – I will continue to wait it out for @amazonlinkbuilder’s response then 🙁

    Thread Starter Will Stocks

    (@willstockstech)

    Hi @vmarko – I will have to speak to my host, as the nginx conf isn’t something I have access to (I use Cloudways for hosting).

    I will ask them to confirm the current ruleset that is applied, to try and clarify this for you.

    Please also see: https://github.com/futtta/autoptimize/issues/229 as it is not only me seeing this issue, and with 0.9.7 I don’t have this issue at all and AO hasn’t updated in 2 months/doesn’t really touch nginx as far as I’m aware – so it’s clearly some change/incompatibility between the two with 0.9.7.1/0.9.7.2. I tried looking at the diff (https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=2018481%40w3-total-cache&old=1864400%40w3-total-cache&sfp_email=&sfph_mail=) but the changes are fairly extensive and I got lost halfway through!

    Thread Starter Will Stocks

    (@willstockstech)

    I’m trying to check error files and all I can find so far is:

    AH01071: Got error 'PHP message: PHP Warning: Cannot assign an empty string to a string offset in /wp-includes/class.wp-scripts.php on line 445\nPHP message: PHP Warning: Cannot assign an empty string to a string offset in /wp-includes/class.wp-scripts.php on line 445\n', referer: https://willstocks.co.uk/?w3tc_note=flush_all

    and quite a lot of:

    AH01071: Got error 'PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/w3-total-cache/Cdn_Plugin.php on line 1203\n', referer: https://willstocks.co.uk/

    nginx error:
    open() "/wp-content/cache/autoptimize/js/autoptimize_a64f6e008422fbabbb7a3ec5536062bc.js" failed (2: No such file or directory)

    
    status_code:404 IPADDRESSREMOVED [11/Feb/2019:14:13:21 +0000] GET /wp-content/cache/autoptimize/js/autoptimize_edd71b4828d50f10e8224220bf9763fc.js HTTP/1.1
    status_code:404 IPADDRESSREMOVED [11/Feb/2019:14:13:22 +0000] GET /wp-content/cache/autoptimize/js/autoptimize_edd71b4828d50f10e8224220bf9763fc.js HTTP/1.1
    status_code:404 IPADDRESSREMOVED [11/Feb/2019:14:13:22 +0000] GET /wp-content/cache/autoptimize/css/autoptimize_b198bdb91c81033d22d83caf5514df6d.css HTTP/1.1
    status_code:404 IPADDRESSREMOVED [11/Feb/2019:14:13:23 +0000] GET /wp-content/cache/autoptimize/css/autoptimize_b198bdb91c81033d22d83caf5514df6d.css HTTP/1.1
    status_code:404 IPADDRESSREMOVED [11/Feb/2019:14:13:31 +0000] GET /wp-content/cache/autoptimize/css/autoptimize_b198bdb91c81033d22d83caf5514df6d.css HTTP/1.1
    status_code:404 IPADDRESSREMOVED [11/Feb/2019:14:13:37 +0000] GET /wp-content/cache/autoptimize/js/autoptimize_edd71b4828d50f10e8224220bf9763fc.js HTTP/1.1
    

    PHP access logs:

    IPADDRESSREMOVED , 127.0.0.1 - [11/Feb/2019:14:13:20 +0000] "GET /index.php" 404 0 - 22594 21535 0.875 14680064 48.02% 12.58% "/wp-content/cache/autoptimize/js/autoptimize_edd71b4828d50f10e8224220bf9763fc.js"
    IPADDRESSREMOVED , 127.0.0.1 - [11/Feb/2019:14:13:21 +0000] "GET /index.php" 404 0 - 22594 21535 0.736 8388608 51.66% 13.59% "/wp-content/cache/autoptimize/js/autoptimize_edd71b4828d50f10e8224220bf9763fc.js"
    IPADDRESSREMOVED , 127.0.0.1 - [11/Feb/2019:14:13:21 +0000] "GET /index.php" 404 0 - 22594 21612 0.665 25165824 63.17% 16.55% "/wp-content/cache/autoptimize/css/autoptimize_b198bdb91c81033d22d83caf5514df6d.css"
    IPADDRESSREMOVED , 127.0.0.1 - [11/Feb/2019:14:13:22 +0000] "GET /index.php" 404 0 - 22594 21535 0.579 6291456 74.28% 15.55% "/wp-content/cache/autoptimize/css/autoptimize_b198bdb91c81033d22d83caf5514df6d.css"
    IPADDRESSREMOVED , 127.0.0.1 - [11/Feb/2019:14:13:30 +0000] "GET /index.php" 404 0 - 22594 21612 0.531 14680064 79.16% 15.08% "/wp-content/cache/autoptimize/css/autoptimize_b198bdb91c81033d22d83caf5514df6d.css"
    IPADDRESSREMOVED , 127.0.0.1 - [11/Feb/2019:14:13:36 +0000] "GET /index.php" 404 0 - 22594 21612 1.505 8388608 34.56% 13.29% "/wp-content/cache/autoptimize/js/autoptimize_edd71b4828d50f10e8224220bf9763fc.js"

    PHP slow log:

    [11-Feb-2019 14:10:42]  [pool mycluster] pid 21423
    script_filename = myserver/public_html/index.php
    [0x00007fa7c061d050] get() myserver/public_html/wp-content/plugins/w3-total-cache/Cache_Redis.php:86
    [0x00007fa7c061cf70] get_with_old() myserver/public_html/wp-content/plugins/w3-total-cache/Cache_Base.php:96
    [0x00007fa7c061cec0] get() myserver/public_html/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache_Regular.php:157
    [0x00007fa7c061cd70] get() myserver/public_html/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache.php:36
    [0x00007fa7c061ccc0] get() myserver/public_html/wp-content/object-cache.php:52
    [0x00007fa7c061cc10] wp_cache_get() myserver/public_html/wp-includes/functions.php:5260
    [0x00007fa7c061cb60] _get_non_cached_ids() myserver/public_html/wp-includes/post.php:6465
    [0x00007fa7c061ca70] _prime_post_caches() myserver/public_html/wp-includes/media.php:1341
    [0x00007fa7c061c960] wp_make_content_images_responsive() myserver/public_html/wp-includes/class-wp-hook.php:286
    [0x00007fa7c061c880] apply_filters() myserver/public_html/wp-includes/plugin.php:203
    [0x00007fa7c061c7c0] apply_filters() myserver/public_html/wp-includes/feed.php:190
    [0x00007fa7c061c740] get_the_content_feed() myserver/public_html/wp-includes/feed-rss2.php:101
    
    [11-Feb-2019 14:12:07]  [pool mycluster] pid 21535
    script_filename = myserver/public_html/wp-cron.php
    [0x00007fa7c061e550] sleep() myserver/public_html/wp-content/plugins/autoptimize-criticalcss/inc/cron.php:129
    [0x00007fa7c061e3a0] ao_ccss_queue_control() myserver/public_html/wp-includes/class-wp-hook.php:286
    [0x00007fa7c061e2c0] apply_filters() myserver/public_html/wp-includes/class-wp-hook.php:310
    [0x00007fa7c061e250] do_action() myserver/public_html/wp-includes/plugin.php:515
    [0x00007fa7c061e190] do_action_ref_array() myserver/public_html/wp-cron.php:126

    Not sure if any of this is of any use… I don’t know what’s going on and why!

    Thread Starter Will Stocks

    (@willstockstech)

    Right…

    So I can’t replicate it in staging for some reason (it’s an EXACT copy of my site, but I wonder whether it’s because it’s fresh and has had no data updates since), but:

    GET https://willstocks.co.uk/wp-content/cache/autoptimize/js/autoptimize_edd71b4828d50f10e8224220bf9763fc.js net::ERR_ABORTED 404
    /wp-content/cache/autoptimize/css/autoptimize_b198bdb91c81033d22d83caf5514df6d.css:1 GET https://willstocks.co.uk/wp-content/cache/autoptimize/css/autoptimize_b198bdb91c81033d22d83caf5514df6d.css net::ERR_ABORTED 404

    I see these errors (current AO file is: autoptimize_5fe0923896125bd1965e86d0cfe3cf96.css and autoptimize_a64f6e008422fbabbb7a3ec5536062bc.js)

    I opened my site (logged in to wp-admin) and everything loaded fine. I cleared all caches (just to make sure – AO AND W3TC) and reloaded – everything was fine. So I continued to open an incognito tab and boom, the error is there. I also noticed one of my recent posts was missing, so I emptied Chrome cache and reloaded – same again. I checked the W3TC comment at the bottom of <body> and it was showing the last updated date as 07-01-19.

    I have now reverted to 0.9.7 and things work perfectly fine… I truly don’t understand as the sites are like for like (literally copied all site files and DB!!!!)

    I’m happy to arrange access for you (I have setup an account in the staging environment) if someone wants to get in touch with me via email? (will@willstocks.co.uk)

    Plugin Contributor Will Stocks

    (@willstockstech)

    Application account has now been set to default on my host (it was server that had admin, not the application) and now I’m able to press save without seeing the error 🙂

    I will get both application and server accounts setup so they can both manage the folders/files as necessary!

    Thanks for your assistance @jomisica

    Thread Starter Will Stocks

    (@willstockstech)

    @amazonlinkbuilder – are you able to confirm whether upgrading to 1.9.2 will resolve the above issues. The massive amount of logging bogged down my entire server resource, to the point I had to restart Apache, PHP and nginx!

    Everything seems OK to me at the moment, on 1.8.0 and I’m hesitant to upgrade 🙁

    Thread Starter Will Stocks

    (@willstockstech)

    Hi @davidanderson

    I can confirm the issue is now resolved! 🙂

    Thanks,

    Will

    Plugin Contributor Will Stocks

    (@willstockstech)

    I can confirm, OGC is no longer showing as orphaned with the latest WP Optimize update (per the topic I opened with them!)

    Hi @salesprodomains – if you go to the plugin page, then click on the “Development” tab and look at the details for the 1.9.0 release, within the details you’ll see:
    “1.9.0 – JANUARY 29, 2019
    Added Product Advertising API (PA-API) response caching feature. This feature will prevent PA-API throttle by caching PA-API response and updating the cache asynchronously.”

    So in theory, AALB might be able to bypass the new API limits, then again when I was using 1.9.0 I was seeing a huge number of errors (see: https://wordpress.org/support/topic/v1-9-0-issues/#post-11166523) relating to API limits so I’m not 100% sure! You definitely need the guys that maintain aalb to confirm in all honesty, but the release notes for 1.9.0 read as if it “alleviates” some of the limit concerns

    Plugin Contributor Will Stocks

    (@willstockstech)

    Sorry – yes I’ll resolve it (I meant to with my last response) and I will confirm once I’ve updated the WP Optimise plugin as well!

    Plugin Contributor Will Stocks

    (@willstockstech)

    @jomisica – FYI: https://wordpress.org/support/topic/tables-tab-shows-a-plugin-not-installed/#post-11184217 it looks like it might have been a WP-Optimize issue, although I’m sure I also saw it other DB plugins. Maybe they all follow the same logic?

Viewing 15 replies - 166 through 180 (of 360 total)