Title: Getting error &#8211; Call to undefined function getmypid()
Last modified: August 27, 2026

---

# Getting error – Call to undefined function getmypid()

 *  Resolved [PeterB](https://wordpress.org/support/users/peter_bepe/)
 * (@peter_bepe)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/getting-error-call-to-undefined-function-getmypid/)
 * Hi,
 * My hosting has a few php functions disabled, so recently I have been getting 
   these errors in the logs. Did not check the code where it is used exactly, but
   is there a way to add a check whether the function is enabled or not?
 * Thanks in advance!
 * [Thu Aug 27 23:45:45.702170 2026] [proxy_fcgi:error] [pid 2544472:tid 2544507][
   remote XX.XX.XX.XX:52336] AH01071: Got error ‘PHP message: 404 Solution: same-
   site census join failed: Call to undefined function getmypid() [uncategorized:
   same-site-census]’, referer: [https://XXXXXXXX/wp-admin/plugins.php](https://XXXXXXXX/wp-admin/plugins.php)

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

 *  Plugin Author [Aaron](https://wordpress.org/support/users/aaron13100/)
 * (@aaron13100)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/getting-error-call-to-undefined-function-getmypid/#post-19005266)
 * Hey Peter, thanks for letting me know about that. I was able to reproduce the
   issue and I’m working on a fix for it.
 *  Thread Starter [PeterB](https://wordpress.org/support/users/peter_bepe/)
 * (@peter_bepe)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/getting-error-call-to-undefined-function-getmypid/#post-19005274)
 * Thank you Aaron.
 *  Plugin Author [Aaron](https://wordpress.org/support/users/aaron13100/)
 * (@aaron13100)
 * [5 days ago](https://wordpress.org/support/topic/getting-error-call-to-undefined-function-getmypid/#post-19007665)
 * Hey Peter, I think this is fixed in version 4.3.5. Let me know if it fixes it
   for you and if not please click the ‘Send debug log to developer’ button on the
   plugin’s settings page.
 * thanks
 * Aaron
 *  Thread Starter [PeterB](https://wordpress.org/support/users/peter_bepe/)
 * (@peter_bepe)
 * [4 days, 10 hours ago](https://wordpress.org/support/topic/getting-error-call-to-undefined-function-getmypid/#post-19008116)
 * Thank you, it fixed the error.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-error-call-to-undefined-function-getmypid%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/404-solution/assets/icon-256x256.jpg?rev=1610739)
 * [404 Solution](https://wordpress.org/plugins/404-solution/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/404-solution/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/404-solution/)
 * [Active Topics](https://wordpress.org/support/plugin/404-solution/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/404-solution/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/404-solution/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [PeterB](https://wordpress.org/support/users/peter_bepe/)
 * Last activity: [4 days, 10 hours ago](https://wordpress.org/support/topic/getting-error-call-to-undefined-function-getmypid/#post-19008116)
 * Status: resolved