undefined function W3TC\getmypid()
-
Hello, please tell me why this error occurs?
FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function W3TC\getmypid() in……./wp-content/plugins/w3-total-cache/Cache_File_Generic.php:51
-
Hello @moeclone
Thank you for reaching out and I am happy to help!
Can you please share when you started to see this php message, and also, have you made any changes in your environment or the plugin settings before you started seeing this?Thanks!
Hello @moeclone
Thank you for your feedback.
Not all hosting configurations allow the function getmypid(). It can be checked if the function is available or not by looking at “disable_functions” in the PHP configuration. If you are unsure about this please check with your hosting provider.As for the (x-cache: HIT) this is not a W3 Total Cache header, and this means that you have another layer of caching, most likely some server side caching is active.
Thanks!
PHP does not enforce explicit restrictions on the use of certain functions
from php -ihello i have the same problem and can not come in my admin… below the error message:
/home/strato/http/premium/rid/14/90/510621490/htdocs/WordPress_SecureMode_01/wp-cron.php
02.02.2024 16:52:59 zeepengeurboetiek.nl [client 3.237.48.0] PHP Warning: file_get_contents(/mnt/web517/d1/90/510621490/htdocs/STRATO-apps/wordpress_09/app/wp-content/plugins/w3-total-cache/w3-total-cache.php): Failed to open stream: No such file or directory in /mnt/web517/d1/90/510621490/htdocs/STRATO-apps/wordpress_09/app/wp-includes/functions.php on line 6805
02.02.2024 16:53:10 zeepengeurboetiek.nl [client 3.237.48.0] PHP Warning: file_get_contents(/mnt/web517/d1/90/510621490/htdocs/STRATO-apps/wordpress_09/app/wp-content/plugins/w3-total-cache/w3-total-cache.php): Failed to open stream: No such file or directory in /mnt/web517/d1/90/510621490/htdocs/STRATO-apps/wordpress_09/app/wp-includes/functions.php on line 6805
02.02.2024 16:54:16 zeepengeurboetiek.nl [client 3.237.48.0] PHP Warning: file_get_contents(/mnt/web517/d1/90/510621490/htdocs/STRATO-apps/wordpress_09/app/wp-content/plugins/w3-total-cache/w3-total-cache.php): Failed to open stream: No such file or directory in /mnt/web517/d1/90/510621490/htdocs/STRATO-apps/wordpress_09/app/wp-includes/functions.php on line 6805
02.02.2024 16:55:24 zeepengeurboetiek.nl [client 3.237.48.0] PHP Warning: file_get_contents(/mnt/web517/d1/90/510621490/htdocs/STRATO-apps/wordpress_09/app/wp-content/plugins/w3-total-cache/w3-total-cache.php): Failed to open stream: No such file or directory in /mnt/web517/d1/90/510621490/htdocs/STRATO-apps/wordpress_09/app/wp-includes/functions.php on line 6805
02.02.2024 16:56:09 zeepengeurboetiek.nl [client 2a01:238:200::] End of script output before headers: wp-cron.php
02.02.2024 16:56:09 zeepengeurboetiek.nl [client 2a01:238:200::] End of script output before headers: wp-cron.php
02.02.2024 16:56:09 zeepengeurboetiek.nl [client 2a01:238:200::] End of script output before headers: wp-cron.php
02.02.2024 16:56:09 zeepengeurboetiek.nl [client 2a01:238:200::] End of script output before headers: wp-cron.php
02.02.2024 16:56:09 zeepengeurboetiek.nl [client 2a01:238:200::] End of script output before headers: wp-cron.php
02.02.2024 16:56:10 zeepengeurboetiek.nl [client 2a01:238:200::] End of script output before headers: wp-cron.php
02.02.2024 16:56:10 zeepengeurboetiek.nl [client 2a01:238:200::] End of script output before headers: wp-cron.php
02.02.2024 16:56:10 zeepengeurboetiek.nl [client 2a01:238:200::] End of script output before headers: wp-cron.php
02.02.2024 16:56:10 zeepengeurboetiek.nl [client 2a01:238:200::] End of script output before headers: wp-cron.php
02.02.2024 16:56:10 zeepengeurboetiek.nl [client 2a01:238:200::] End of script output before headers: wp-cron.php
The topic ‘undefined function W3TC\getmypid()’ is closed to new replies.