Title: Fatal PHP error with WordPress 5
Last modified: December 11, 2018

---

# Fatal PHP error with WordPress 5

 *  Resolved [David Robinson](https://wordpress.org/support/users/foxrobinson/)
 * (@foxrobinson)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/fatal-php-error-with-wordpress-5/)
 * When updating to WordPress 5 this plugin creates a fatal PHP error on the frontend
   and backend:
 * ”
    Fatal error: Uncaught Error: Call to a member function using_index_permalinks()
   on null in /home/slaauk10/public_html/w2/wp-includes/rest-api.php:344 Stack trace:#
   0 /home/slaauk10/public_html/w2/wp-includes/rest-api.php(404): get_rest_url(NULL,‘/
   embedpress/v1/…’, ‘json’) #1 /home/slaauk10/public_html/w2/wp-content/plugins/
   embedpress/EmbedPress/Core.php(329): rest_url(’embedpress/v1/o…’) #2 /home/slaauk10/
   public_html/w2/wp-includes/class-wp-hook.php(286): EmbedPress\Core->addOEmbedProviders(
   Array) #3 /home/slaauk10/public_html/w2/wp-includes/plugin.php(203): WP_Hook-
   >apply_filters(Array, Array) #4 /home/slaauk10/public_html/w2/wp-includes/class-
   oembed.php(221): apply_filters(‘oembed_provider…’, Array) #5 /home/slaauk10/public_html/
   w2/wp-includes/embed.php(115): WP_oEmbed->__construct() #6 /home/slaauk10/public_html/
   w2/wp-includes/embed.php(134): _wp_oembed_get_object() #7 /home/slaauk10/public_html/
   w2/wp-content/plugins/jetpack/class.jetpack.php(1820): wp_oembed_add_provider(‘
   [https://cloudup…&#8217](https://cloudup…&#8217);, ‘[https://cloudup](https://cloudup)..
   in /home/slaauk10/public_html/w2/wp-includes/rest-api.php on line 344″
 * Disabling the plugin brings the site back up
 * Regards,
 * David
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-php-error-with-wordpress-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [EmbedPress](https://wordpress.org/support/users/embedpress/)
 * (@embedpress)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/fatal-php-error-with-wordpress-5/#post-10974242)
 * Hi [@foxrobinson](https://wordpress.org/support/users/foxrobinson/)
 * Thanks for using EmbedPress and sorry for the issue.
 * Could you email [help@embedpress.com](https://wordpress.org/support/topic/fatal-php-error-with-wordpress-5/help@embedpress.com?output_format=md)
   with more details of your set up, please. You can get that from a plugin like
   this: [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)
 * What’s your PHP version? Do you have any more embed plugins? etc

Viewing 1 replies (of 1 total)

The topic ‘Fatal PHP error with WordPress 5’ is closed to new replies.

 * ![](https://ps.w.org/embedpress/assets/icon-128x128.gif?rev=3419899)
 * [EmbedPress – PDF Embedder, Embed PDF viewer, YouTube Videos, 3D FlipBook, Social feeds & more](https://wordpress.org/plugins/embedpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/embedpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/embedpress/)
 * [Active Topics](https://wordpress.org/support/plugin/embedpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/embedpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/embedpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [EmbedPress](https://wordpress.org/support/users/embedpress/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/fatal-php-error-with-wordpress-5/#post-10974242)
 * Status: resolved