Call to a member function get_params()
-
Hi,
This was raised already but closed without a clear answer ?
Since I added the photo gallery (which seems to be great, exactly what i’m looking for), I am getting the following when trying to call http://mysite.com/wp-json/acf/v3/pages<br /> <b>Fatal error</b>: Uncaught Error: Call to a member function get_params() on array in /htdocs/cloudylab/km7/wp-content/plugins/navz-photo-gallery/navz-photo-gallery.php:100 Stack trace: #0 /htdocs/cloudylab/km7/wp-includes/class-wp-hook.php(286): acf_plugin_photo_gallery->acf_to_rest_api(Array, Array) #1 /htdocs/cloudylab/km7/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array) #2 /htdocs/cloudylab/km7/wp-content/plugins/acf-to-rest-api/v3/lib/class-acf-to-rest-api-acf-api.php(107): apply_filters('acf/rest_api/pa...', Array, Array) #3 /htdocs/cloudylab/km7/wp-content/plugins/acf-to-rest-api/v3/lib/endpoints/class-acf-to-rest-api-controller.php(62): ACF_To_REST_API_ACF_API->get_fields(Array) #4 /htdocs/cloudylab/km7/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(395): ACF_To_REST_API_Controller->register_field_callback(Array, 'acf', Object(WP_REST_Request), 'pag in <b>/htdocs/cloudylab/km7/wp-content/plugins/navz-photo-gallery/navz-photo-gallery.php</b> on line <b>100</b><br />
I’ve attached the link to the previous (closed) question that seems similar to my issue.
I’m using postman or even my browser to do aGET /wp-json/acf/v3/pages
I’ve tried uninstalling / reinstalling ACF to REST API and ACF Photo Gallery Field.Help would be greatly appreciated 😀
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Call to a member function get_params()’ is closed to new replies.