Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #170257 Reply
    Sebastian
    Guest

    Hello

    W3 Total Cache is causing this [10-Mar-2026 10:16:35 UTC] PHP Fatal error: Uncaught Error: Call to undefined function W3TC\getmypid() in /var/web/site/public_html/wp-content/plugins/w3-total-cache/Cache_File_Generic.php:69

    When I disable it, SmartCrawl stops giving an error.

    Is W3 Total Cache and SmartCrawl incompatible?

    #170303 Reply

    Hello Sebastian,

    Thank you for reaching out, and I am happy to help!
    Can you please try to change line 69 in the W3 Total Cache files – /wp-content/plugins/w3-total-cache/Cache_File_Generic.php live 69 from:

    $tmppath = $path . '.' . getmypid();
    to
    $tmppath = $path . '.' . \getmypid();

    Save the file and reload the plugin in the dashboard

    Let me know if this helps!

    Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: W3 Causing Fatal Errors
Your information: