Title: Fatal Errors
Last modified: July 14, 2020

---

# Fatal Errors

 *  Resolved [CoFOX](https://wordpress.org/support/users/coyotech/)
 * (@coyotech)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-errors-67/)
 * Hello I am noticing constant fatal errors in error logs recently. Any idea what
   is causing this. They errors all seem to show fatal errors with Calls to undefined
   functions in random different jetpack files. It all seems random what file and
   what function will show give the fatal error in the log.
 * [Mon Jul 13 12:48:51 2020] [error] [client 66.249.73.249] FastCGI: server “/var/
   run/php73_xxx.fcgi” stderr: PHP message: PHP Fatal error: Uncaught Error: Call
   to undefined function add_action() in /home/xxx.com/wp-content/plugins/jetpack/
   _inc/lib/core-api/load-wpcom-endpoints.php:45
    [Mon Jul 13 12:48:51 2020] [error][
   client 66.249.73.249] FastCGI: server “/var/run/php73_xxx.fcgi” stderr: Stack
   trace: [Mon Jul 13 12:48:51 2020] [error] [client 66.249.73.249] FastCGI: server“/
   var/run/php73_xxx.fcgi” stderr: #0 {main} [Mon Jul 13 12:48:51 2020] [error] [
   client 66.249.73.249] FastCGI: server “/var/run/php73_xxx.fcgi” stderr: thrown
   in /home/xxx.com/wp-content/plugins/jetpack/_inc/lib/core-api/load-wpcom-endpoints.
   php on line 45-content/plugins/jetpack/_inc/lib/core-api/load-wpcom-endpoints.
   php:45
    -  This topic was modified 5 years, 11 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-errors-67%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-errors-67/#post-13118838)
 * What is the URL of the site with the problem, and what version of PHP are you
   running?
 *  Thread Starter [CoFOX](https://wordpress.org/support/users/coyotech/)
 * (@coyotech)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-errors-67/#post-13118945)
 * This the site and php version
 * PHP 7.3.11
    -  This reply was modified 5 years, 11 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-errors-67/#post-13119039)
 * [@coyotech](https://wordpress.org/support/users/coyotech/) Don’t use short links
   in these forums, they get expanded when found. I have expanded yours and put 
   it in the link field.
 *  Thread Starter [CoFOX](https://wordpress.org/support/users/coyotech/)
 * (@coyotech)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-errors-67/#post-13119097)
 * ok thank you
 *  Plugin Contributor [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-67/#post-13119632)
 * Would you please repost the site’s URL?
 * If you want to share it privately, you can via [https://jetpack.com/contact-support/?rel=support](https://jetpack.com/contact-support/?rel=support)
 *  Thread Starter [CoFOX](https://wordpress.org/support/users/coyotech/)
 * (@coyotech)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-67/#post-13120402)
 * It is in the link field in op
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [5 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-67/#post-13121235)
 * > PHP Fatal error: Uncaught Error: Call to undefined function add_action()
 * `add_action` is something that’s provided by WordPress itself. If it’s missing
   on your site, something wrong is happening. Since the rest of the site works 
   just fine, that’s most likely not the issue here.
 * It’s most likely that someone is trying to access this file directly, instead
   of accessing your site’s homepage. In that case, they get an error and you see
   it in your logs, but that won’t impact your site’s real visitors.
 * That is something we can address in the Jetpack plugin directly, so as to avoid
   generating all that noise in your error log.
    We’ll avoid the error for that 
   specific file in the next version of Jetpack, with this change: [https://github.com/Automattic/jetpack/pull/16480](https://github.com/Automattic/jetpack/pull/16480)
 *  Thread Starter [CoFOX](https://wordpress.org/support/users/coyotech/)
 * (@coyotech)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-67/#post-13121318)
 * Its not only that function its others as well.
    Call to undefined function wp_embed_register_handler()
   in /home/wp_zzzzz/xxxx.com/wp-content/plugins/jetpack/modules/shortcodes/gist.
   php:23 Call to undefined function wp_embed_register_handler() in /home/wp_zzzzz/
   xxxx.com/wp-content/plugins/jetpack/modules/shortcodes/medium.php:1 Call to undefined
   function wp_oembed_add_provider() in /home/wp_zzzzz/xxxx.com/wp-content/plugins/
   jetpack/modules/shortcodes/getty.php:26 Call to undefined function Automattic\\
   Jetpack\\Extensions\\jetpack_register_block() in /home/wp_zzzzz/xxxx.com/wp-content/
   plugins/jetpack/extensions/blocks/tiled-gallery/tiled-gallery.php:34
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [5 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-67/#post-13121694)
 * > Its not only that function its others as well.
 * Yes, the person currently crawling your site is most likely trying to fetch multiple
   files in different places.
 * The patch above is about the one file you mentioned in your first post, but we
   should be able to silence those errors for other files as well. It’s part of 
   a larger project, which you can follow here:
    [https://github.com/Automattic/jetpack/issues/3056](https://github.com/Automattic/jetpack/issues/3056)
 *  Thread Starter [CoFOX](https://wordpress.org/support/users/coyotech/)
 * (@coyotech)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-67/#post-13122561)
 * ok thanks

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

The topic ‘Fatal Errors’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

 * 10 replies
 * 4 participants
 * Last reply from: [CoFOX](https://wordpress.org/support/users/coyotech/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-67/#post-13122561)
 * Status: resolved