Forum Replies Created

Viewing 15 replies - 1 through 15 (of 57 total)
  • Thread Starter ecronik

    (@ecronik)

    Hi @vmarko

    No, the error messages still occur. Also, occasionally this one with changing filenames:

    [09-Feb-2023 16:38:37 UTC] PHP Warning: filesize(): stat failed for /…/wp-content/cache/object/d2f/438/d2f43839d111e37ad033f85d8dee5f63.php in /…/wp-content/plugins/w3-total-cache/Cache_File.php on line 159

    All plugins etc. up-to-date.

    Unfortunately, I also haven’t managed to fix the admin-ajax.php error after a while when using load-more buttons etc. I tried excluding jquery.min.js and tagdiv_theme.min.js from RocketLoader, excluding admin-ajax.php from page cache, had HTML/XML TTL already down at 15 minutes, but still no luck. Maybe you have another idea about this as well?

    Thanks,

    eC

    Thread Starter ecronik

    (@ecronik)

    Hi @vmarko

    commenting out line 33 of Util_AttachToActions.php did unfortunately not prevent the PHP warnings.

    Thanks,

    eC

    Thread Starter ecronik

    (@ecronik)

    Hey @vmarko

    Thanks for your quick response! I would like to double-check this again: You don’t see a possible problem when having HTML/XML TTL set to 115 minutes, cron set to 5 minutes, and garbage collection set to 60 minutes? I’m just trying to avoid a possible mismatch between the timings, as it could happen with preloading.

    Thanks,

    eC

    Thread Starter ecronik

    (@ecronik)

    Hi @vmarko

    I hope you are doing well! In addition to the PHP notice about AMP, there is a new warning in the logs now, that happens every couple of minutes:

    [17-Jan-2023 09:08:02 UTC] PHP Warning: Trying to access array offset on value of type null in /www/htdocs/xxx/domain.com/wp-content/plugins/w3-total-cache/Util_AttachToActions.php on line 79

    The site (you can find the link in my initial post) runs w/ W3TC v2.2.11

    Another thing I could need your help with is about the AJAX functions (load more posts) of the site within articles and also on the home page, for example. After a while, it doesn’t work anymore, and the loader spins until infinity; the console shows this:

    jquery.min.js?ver=3.6.0:2
    POST https://domain.com/wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=12.2 403
    send @ jquery.min.js?ver=3.6.0:2
    ajax @ jquery.min.js?ver=3.6.0:2
    tdAjaxDoBlockRequest @ tagdiv_theme.min.js?ver=12.2:281
    (anonymous) @ tagdiv_theme.min.js?ver=12.2:272
    dispatch @ jquery.min.js?ver=3.6.0:2
    v.handle @ jquery.min.js?ver=3.6.0:2
    c @ rocket-loader.min.js:1

    I guess that’s an issue with a Nonce, but I can’t find any solution to it yet. Keeping the HTML/XML TTL under 2h seems to work so far, but not sure if that was really the fix. Do you maybe have another idea to be able to have a longer TTL? If not, do you see any problems in setting the HTML/XML TTL to 115 minutes? Cron runs every 5 Mins, and garbage collection every hour. CSS/JS and Media TTL is a year.

    Thank you,

    eC

    Thread Starter ecronik

    (@ecronik)

    Hi @chouby

    I added this to the child’s function.php, but unfortunately it doesn’t seem to be a solution to the problem. Also installed yesterday’s Polylang update, which doesn’t fix the problem either. Any other idea what I could do?

    Thanks!

    Thread Starter ecronik

    (@ecronik)

    Hi, a quick reminder about the topic – would be great if you could help me with this.

    Thanks,

    eC

    Thread Starter ecronik

    (@ecronik)

    Hi @vmarko

    I hope you had great Christmas holidays! I was referring to the PHP notices and thought you wanted me to let you know when they keep occurring, but I misunderstood your reply. Unfortunately, I can’t say for sure when the notice first appeared. However, AMP’s functionality still doesn’t seem to be affected.

    Thanks

    Thread Starter ecronik

    (@ecronik)

    Hi @vmarko – just letting you know that the PHP notices keep coming back. But unfortunately can’t tell what actions are causing it.

    Thanks

    Thread Starter ecronik

    (@ecronik)

    Hm, I’m on shared and only have Disk available; everything else is greyed out @vmarko – so you would advise in this case to turn off DB caching? Using Object Caching too. Or is it another activated option somewhere that prevents me from choosing something else than Disk?

    I’ve shared the URL with the post, but as far as I know it’s only visible for logged in users (so it’s not going into SE-index), right?

    Thread Starter ecronik

    (@ecronik)

    Hey @vmarko ,

    no issues with serving/using the AMP, but will keep an eye on it, thanks!

    One additional question: Did a load-test on the site, and this PHP warning occurred:

    [22-Dec-2022 13:22:54 UTC] PHP Warning: filesize(): stat failed for x/wp-content/cache/db/singletables/e8a/15f/e8a15f713be1e24682a7013b86519d27.php in x/wp-content/plugins/w3-total-cache/Cache_File.php on line 159

    What’s happening there? Would also be great, if you could edit the sitename out of your previous reply.

    Thanks and happy holidays!

    Thread Starter ecronik

    (@ecronik)

    Hi @chouby ,

    did resave both pages, also resaved permalinks (and purged all caches after everything), but unfortunately still no luck.

    Thread Starter ecronik

    (@ecronik)

    That totally makes sense – was in a hurry and not sure how AI processes the code.

    Nonetheless, I’ve tested all possible combinations and was able to narrow down the problem: It seems to be caused by the usage of the rotate functionality. If I only keep one script for regular pages and one for AMP it works.

    What is wrong with my code in that regard?

    Thanks,

    eC

    Thread Starter ecronik

    (@ecronik)

    Hi,

    thanks for your reply! But isn’t it weird that the ads were/are show(ing) when I watch the articles being logged in?

    I did set a width now, but unfortunately, they still don’t show. But it’s supposed to be what’s used on desktop, tablet, and also non-AMP mobile requests (so not sure if setting a width would be an efficient solution). This is the code I have now (not sure if the slot number is sensitive information, probably not, but just in case replaced it with single digits):

    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1173067649194925"
         crossorigin="anonymous"></script>
    <ins class="adsbygoogle"
         style="display:block; text-align:center;width:696px"
         data-ad-layout="in-article"
         data-ad-format="fluid"
         data-ad-client="ca-pub-1173067649194925"
         data-ad-slot="1">
    <script>
         (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    [ADINSERTER ROTATE]
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1173067649194925"
         crossorigin="anonymous"></script>
    <ins class="adsbygoogle"
         style="display:block;width:696px"
         data-ad-format="autorelaxed"
         data-ad-client="ca-pub-1173067649194925"
         data-ad-slot="2">
    <script>
         (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    [ADINSERTER ROTATE]
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1173067649194925"
         crossorigin="anonymous"></script>
    <ins class="adsbygoogle"
         style="display:block;width:696px"
         data-ad-client="ca-pub-1173067649194925"
         data-ad-slot="3"
         data-ad-format="auto"
         data-full-width-responsive="true">
    <script>
         (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    
    [ADINSERTER AMP]
    
    <amp-ad width="100vw" height="320"
         type="adsense"
         data-ad-client="ca-pub-1173067649194925"
         data-ad-slot="4"
         data-auto-format="rspv"
         data-full-width="">
      
    </amp-ad> [ADINSERTER ROTATE] <amp-ad width="100vw" height="320" type="adsense" data-ad-client="ca-pub-1173067649194925" data-ad-slot="5" data-auto-format="mcrspv" data-full-width="">
    </amp-ad>

    Was working before, when I had them inserted via the theme options into the article content.

    Might be that I use some of the non-AMP scripts with the same data-ad-slot number at other spots on the page (sidebar, below content maybe). Is that a problem?

    Thanks!

    • This reply was modified 3 years, 5 months ago by ecronik.
    Thread Starter ecronik

    (@ecronik)

    Hi, so I’ve rolled back to 2.0.39, 2.0.38, and 2.0.37, but the problem persists – did implemented your plugin with the recent v2.0.40 right from the start, so it did behave like this from the beginning.

    Thanks,

    eC

    Thread Starter ecronik

    (@ecronik)

    No significant recent updates, no. How can I properly roll back the plugin version?

Viewing 15 replies - 1 through 15 (of 57 total)