Call to undefined function get_field_object()
-
If you have ACF activated, but not loaded (for example when you need to run WordPress code via the CLI), you get these errors:
`
PHP Fatal error: Uncaught Error: Call to undefined function get_field_object() in /var/www/wp-content/plugins/relevanssi/lib/indexing.php
`
Relevanssi should be using
if (function_exists('get_field_object'))
instead of (or as well as) checking if one of the ACF plugins is active.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Call to undefined function get_field_object()’ is closed to new replies.