Title: Problem REST API
Last modified: February 10, 2018

---

# Problem REST API

 *  Resolved [adminsmmc](https://wordpress.org/support/users/adminsmmc/)
 * (@adminsmmc)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/problem-rest-api/)
 * Hello John,
 * I try to redirect all urls in my website , because I will change permalinks. 
   But it is not working. There are two messages appear:
 * Plugin Status
    1. WordPress REST API Problem REST API returns an error code (
   40x – [http://smmc.or.id/wp-admin/admin-ajax.php?action=red_proxy&rest_path=](http://smmc.or.id/wp-admin/admin-ajax.php?action=red_proxy&rest_path=))
   2. Redirection routes Problem REST API is not working so routes not checked
 * When I try click “magic fix”, a message appears:
    Fatal error: Call to a member
   function register_route() on null in /home/adminsmmc/public_html/wp-includes/
   rest-api.php on line 77
 * Right now, I cancle to change the permalinks for a while, until I have the answer
   to fix it.
 * Please help me to fix these problems. Thanks for you attention.
 * Regards
    Puspa
    -  This topic was modified 8 years, 3 months ago by [adminsmmc](https://wordpress.org/support/users/adminsmmc/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-rest-api%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/problem-rest-api/#post-9953544)
 * So it seems like you have two different problems here:
 * – A redirect doesn’t work
    – There’s an error shown on the support page
 * Does this mean you are able to create new redirects ok? What is the redirect 
   you created that isn’t working?
 * Regarding the second problem, I’ve never seen that before. I suspect it may disappear
   if you upgrade WordPress to the latest version. I’ll need to check the plugin
   against version 4.8.5
 *  [Tony G](https://wordpress.org/support/users/starbuck/)
 * (@starbuck)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/problem-rest-api/#post-9966850)
 * [@johnny5](https://wordpress.org/support/users/johnny5/), I know you made changes
   in this area recenty. I came to the forum today because I have the same (first)
   issue with the status when using the REST API.
 * >  WordPress REST API Problem REST API returns an error code
   >  (40x – [https://xxxxxxxxxxxxx/wp-admin/admin-ajax.php?action=red_proxy&rest_path=](https://xxxxxxxxxxxxx/wp-admin/admin-ajax.php?action=red_proxy&rest_path=))
   > Redirection routes Problem REST API is not working so routes not checked
 * During my search I stumbled on another report of the same problem, with the reporter
   citing a conflict with another plugin and Redirection. I commented there with
   a workaround/resolution, and am adding a [ref here](https://wordpress.org/support/topic/your-plugin-rest-api-usage-interferes-with-others/)
   for your review. Regards.
    -  This reply was modified 8 years, 3 months ago by [Tony G](https://wordpress.org/support/users/starbuck/).
    -  This reply was modified 8 years, 3 months ago by [Tony G](https://wordpress.org/support/users/starbuck/).
      Reason: formatting
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/problem-rest-api/#post-9984731)
 * [@starbuck](https://wordpress.org/support/users/starbuck/), I’ll try that plugin
   and see what’s going on – what you described will definitely cause a problem.
   Thanks!
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/problem-rest-api/#post-9985206)
 * I tried the plugin and it seems unnecessarily aggressive and will break a good
   many things. I’ve tried to add a workaround in Redirection, but it’s likely to
   be quite fragile.
 * Fortunately as you say it doesn’t touch the REST API, so that’s a solid solution.
 *  [omenaf](https://wordpress.org/support/users/omenaf/)
 * (@omenaf)
 * [8 years ago](https://wordpress.org/support/topic/problem-rest-api/#post-10310842)
 * After install Formidable Forms plugin, I’ve received ‘Fatal error: Call to a 
   member function dispatch() on null in /home/saudecor/public_html/wp-includes/
   rest-api.php on line 278’ mensage.
 * I can not do anything on my website.
 * [@adminsmmc](https://wordpress.org/support/users/adminsmmc/), how do you solve
   rest api problem?
 *  [jaydutde](https://wordpress.org/support/users/jaydutde/)
 * (@jaydutde)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/problem-rest-api/#post-10634606)
 * I am facing a similar issue. please let me help out.
    WordPress REST API Problem
   REST API returns an error code (40x – [https://manindranathhighschool.org/wp-json/](https://manindranathhighschool.org/wp-json/))
   Redirection routes Problem REST API is not working so routes not checked
 * I am not a professional web developer. I just started to use the word press. 
   Unfortunately, this is my first unsolvable problem regarding this site.
    On Pingdom
   analysis report, I found that my site has too many redirects.
 * I am fully confused about. I have tested with deactivating all other plugins.
   No resolution found. help me out of this.

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

The topic ‘Problem REST API’ is closed to new replies.

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

 * 6 replies
 * 5 participants
 * Last reply from: [jaydutde](https://wordpress.org/support/users/jaydutde/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/problem-rest-api/#post-10634606)
 * Status: resolved