• Resolved LikeWomans

    (@likewomans)


    Hello, I try click on button “Enable Page Caching Now” 3 Step , then drop message alert “Error: undefined swcfpc_ajax_url is not defined”

    WordPress 4.2.28

    • This topic was modified 5 years, 4 months ago by LikeWomans.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @likewomans,
    On the page where you see that error, can you do a right-click on that page, click on View Page Source and then search (Ctrl + F) for swcfpc_ajax_url. Let me know what you see. Also, have you checked your PHP error log in the server? Are there any errors there about the plugin?

    Thread Starter LikeWomans

    (@likewomans)

    On the page where you see that error, can you do a right-click on that page, click on View Page Source and then search (Ctrl + F) for swcfpc_ajax_url.

    Nothing

    PHP log
    PHP message: PHP Warning: Use of undefined constant THEME_ADMIN – assumed ‘THEME_ADMIN’ (this will throw an Error in a future version of PHP) in /var/www/site.com/data/www/site.com/wp-content/themes/protheme/admin/admin-interface.php on line 7″ while reading response header from upstream, client: 82.155.190.77, server: site.com, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/site.com.sock:”, host: “site.com”, referrer: “https://site.com/wp-admin/options-general.php?page=wp-cloudflare-super-page-cache-index”

    • This reply was modified 5 years, 4 months ago by LikeWomans.
    Plugin Contributor iSaumya

    (@isaumya)

    Hi @likewomans,
    Looking at the log you have shared, it seems an issue with your theme. Can you momentarily change back to any other theme (like Twenty Twenty or whatever) and then check if things work?

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

The topic ‘Error: undefined swcfpc_ajax_url is not defined’ is closed to new replies.