{"id":19005042,"date":"2026-08-27T21:57:09","date_gmt":"2026-08-27T21:57:09","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/getting-error-call-to-undefined-function-getmypid\/"},"modified":"2026-08-27T21:57:09","modified_gmt":"2026-08-27T21:57:09","slug":"getting-error-call-to-undefined-function-getmypid","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/getting-error-call-to-undefined-function-getmypid\/","title":{"rendered":"Getting error &#8211; Call to undefined function getmypid()"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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? <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks in advance!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[Thu Aug 27 23:45:45.702170 2026] [proxy_fcgi:error] [pid 2544472:tid 2544507] [remote XX.XX.XX.XX:52336] AH01071: Got error &#8216;PHP message: 404 Solution: same-site census join failed: Call to undefined function getmypid() [uncategorized:same-site-census]&#8217;, referer: https:\/\/XXXXXXXX\/wp-admin\/plugins.php<\/p>\n","protected":false},"template":"","class_list":["post-19005042","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19005042","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19005042\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19005042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}