• Resolved aryoamnavas

    (@aryoamnavas)


    Greetings, I have a problem with 404 links on my website, instead of throwing page 404 it shows the following error (This for any 404 page of the website):

    View post on imgur.com

    Also some pages that if they are active at times have this problem:

    View post on imgur.com

    My hosting provider says it may be a bug with the CF plugin, It seems to be related to service worker

    • This topic was modified 4 years, 5 months ago by aryoamnavas.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @aryoamnavas,
    if you choose the option to bypass the cache for 404 pages, the plugin cannot affect the behavior.

    Maybe you forgot to choose this option?

    If yes please flag it, save and purge the cache. Then I will check if it works.

    I’m using service workers without problem. I don’t think the problem is related to this.

    Let me know when done ??

    Thread Starter aryoamnavas

    (@aryoamnavas)

    Hello, i already activated the option and cleared cache but the error continues

    View post on imgur.com

    View post on imgur.com

    The error only happens in the main domain, in the subdomain it works fine, example:

    Error: https://superluchas.com/zsdvsdfcs

    Good: https://en.superluchas.com/zsdvsdfcs

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @aryoamnavas ,
    I don’t know why. A 404 error is returned back:

    $ curl -I https://superluchas.com/sdsdsd
    HTTP/2 404 
    date: Fri, 12 Jun 2020 15:47:55 GMT
    content-type: text/html; charset=UTF-8
    set-cookie: __cfduid=de33883f6a0f4ea46ac94ea1afc64972b1591976864; expires=Sun, 12-Jul-20 15:47:44 GMT; path=/; domain=.superluchas.com; HttpOnly; SameSite=Lax; Secure
    vary: Accept-Encoding
    expires: Wed, 11 Jan 1984 05:00:00 GMT
    cache-control: no-store, no-cache, must-revalidate, max-age=0
    cache-control: post-check=0, pre-check=0
    pragma: no-cache
    x-wp-cf-super-cache: no-cache
    x-wp-cf-super-cache-cache-control: no-store, no-cache, must-revalidate, max-age=0
    x-kinsta-cache: MISS
    cf-cache-status: BYPASS
    cf-request-id: 034ad0418e0000cd2696853200000001
    expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    strict-transport-security: max-age=5184000; includeSubDomains; preload
    x-content-type-options: nosniff
    server: cloudflare
    cf-ray: 5a24b648ecc6cd26-FCO
    alt-svc: h3-27=":443"; ma=86400

    And as you can see from the cf-cache-status and x-wp-cf-super-cache response HTTP headers, the Cloudflare cache is correctly bypassed.

    This is the first time I see this behavior. Are you sure that is Cloudflare the problem?

    Thread Starter aryoamnavas

    (@aryoamnavas)

    Hi, my hosting provider says:

    2020/06/11 17:03:18 [error] 100672#100672: *24207966 FastCGI sent in stderr: "PHP message: Error Table 'superluchas.wp_swcfpc_logs' doesn't exist de la base de datos de WordPress para la consulta DELETE FROM wp_swcfpc_logs WHERE date < UNIX_TIMESTAMP(DATE_SUB(NOW(), INTERVAL 7 DAY)) realizada por require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, SW_CLOUDFLARE_PAGECACHE->__construct, SW_CLOUDFLARE_PAGECACHE->include_libs, SWCFPC_Logs->__construct, SWCFPC_Logs->delete_logs_older_than_days", client: 190.143.246.82, server: superluchas.com, request: "GET /vsefvdss HTTP/1.0", host: "superluchas.com"

    I don’t know exactly why that exists, but it seems that you have or should have this table and it’s not there: wp_swcfpc_logs sounds like a log of something, but I don’t know what plugin uses it, if you can check what plugin saves logs in that table, and deactivate or modify it with the author that passes and because that table is not there, that solves the issue.

    I do not know if it is the CloudFlare plugin, which may be for the acronym but it is only or I think it could be, the main thing would be to review the plugins as I mentioned

    • This reply was modified 4 years, 5 months ago by aryoamnavas.
    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    That is a bug fixed on next release but I don’t think it is the cause of your error. To solve that, delete the option “swcfpc_version” from the wp_option table and refresh the page.

    It’s not a fatal error.

    Let me know

    Thread Starter aryoamnavas

    (@aryoamnavas)

    Thanks a lot! It seems to be working fine already.

    • This reply was modified 4 years, 5 months ago by aryoamnavas.
    • This reply was modified 4 years, 5 months ago by aryoamnavas.
    • This reply was modified 4 years, 5 months ago by aryoamnavas.
    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    You’re welcome ??

    Thread Starter aryoamnavas

    (@aryoamnavas)

    Hi, sorry friend, but for some reason the error reappears ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error with service worker’ is closed to new replies.