Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP notice about undefined constant (v1.3.3) #41

Open
amfriedman opened this issue Feb 3, 2016 · 1 comment
Open

PHP notice about undefined constant (v1.3.3) #41

amfriedman opened this issue Feb 3, 2016 · 1 comment

Comments

@amfriedman
Copy link

I have v1.3.3 of this plugin installed.
I also have WP REST API plugin v2.0beta7 and Wordpress core v4.3

On every page there is a PHP error about an undefined constant.

Notice: Use of undefined constant REST_API_VERSION - assumed 'REST_API_VERSION' in /var/www/courtdocs/public/wp-content/plugins/acf-to-wp-api/acf-to-wp-api.php on line 41

@chrishutchinson
Copy link
Contributor

Hey @amfriedman, I've seen this crop up a few times since the REST API code was moved into core in WordPress 4.4.

If you're able to update to WordPress 4.4, that should help alleviate the issue. If not, let me know and I'll see if I can reproduce and provide a fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants