• Hi,

    I’ve just installed wp api rest (2) and rest-routes plugins for the first time on a already working wordpress site.

    I tryed a first endpoint (simple, just return posts) and I’m getting this error when I visit de generated endpoint:

    Fatal error: Call to undefined function get_registered_meta_keys() in /Applications/XAMPP/xamppfiles/htdocs/fonolab/wp-content/plugins/rest-api/lib/fields/class-wp-rest-meta-fields.php on line 244

    I’m using wordpress 4.5.4
    On a local installation with Apache/2.4.23 (Unix) OpenSSL/1.0.2j PHP/5.6.24 mod_perl/2.0.8-dev Perl/v5.16.3

    I haven’t used the wp-rest-api plugin by it’s own, so it could be an error on the other plugin also.

    I’ll appreciate any help.
    Sorry for my english.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Error on get posts endpoint undefined function’ is closed to new replies.