• Hi,

    we have used this plugin for two years and it has always worked. But now, when we create a new “League Table” 500 error comes up with this message:

    [25-Aug-2017 09:25:44 UTC] PHP Fatal error: Call to undefined function register_rest_field() in /home/anaunual/public_html/wp-content/plugins/sportspress-pro/includes/sportspress/includes/api/class-sp-rest-api.php on line 60
    [25-Aug-2017 09:27:40 UTC] PHP Fatal error: Call to undefined function register_rest_field() in /home/anaunual/public_html/wp-content/plugins/sportspress-pro/includes/sportspress/includes/api/class-sp-rest-api.php on line 60
    [25-Aug-2017 09:29:26 UTC] PHP Fatal error: Call to undefined function register_rest_field() in /home/anaunual/public_html/wp-content/plugins/sportspress-pro/includes/sportspress/includes/api/class-sp-rest-api.php on line 60
    [25-Aug-2017 09:29:26 UTC] PHP Fatal error: Call to undefined function register_rest_field() in /home/anaunual/public_html/wp-content/plugins/sportspress-pro/includes/sportspress/includes/api/class-sp-rest-api.php on line 60
    [25-Aug-2017 09:29:26 UTC] PHP Fatal error: Call to undefined function register_rest_field() in /home/anaunual/public_html/wp-content/plugins/sportspress-pro/includes/sportspress/includes/api/class-sp-rest-api.php on line 60
    [25-Aug-2017 09:30:47 UTC] PHP Fatal error: Call to undefined function register_rest_field() in /home/anaunual/public_html/wp-content/plugins/sportspress-pro/includes/sportspress/includes/api/class-sp-rest-api.php on line 60

    We also tried disabling all plugins (except SportsPress) but the problem persists.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Roch

    (@rochesterj)

    Hi!

    Thanks for reaching out!

    Have you updated your plugin recently?

    Also, are you using the REST API for any custom code?

    What you could try is just deleting and installing it again. By the error messages it looks like there are some plugin functions missing.

    Thanks!

    Kind Regards,
    -Roch

    Thread Starter overpress

    (@overpress)

    The version we installed is the 2.0.13. We cannot download new versions because we had purchased the Pro version and it has expired the year support. How can we fix it?

    No, we do not use the REST API for any custom code.

    • This reply was modified 8 years, 9 months ago by overpress.
    Roch

    (@rochesterj)

    Hi!

    In your case you’ll probably need to roll back your WordPress version to a veersion that is compatible to that SportsPress version in specific.

    You could as well either downgrade to the free version or renew your license to get the latest SportsPress Pro version

    Thanks!

    Kind Regards,
    -Roch

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

The topic ‘Fatal Error “class-sp-rest-api.php on line 60”’ is closed to new replies.