Hi,
According to the Documentation for?Listeo, they say that Say What? plugin to change some texts/words – https://www.docs.purethemes.net/listeo/knowledge-base/how-to-change-some-texts-words/
But even though I changed the Listing Category, the Rest API of https://woocommerce-721115-4523476.cloudwaysapps.com//wp-json/wp/v2/listing still displays the default Listing Category – https://snipboard.io/iZj01k.jpg
Do you have any solutions?
Have a nice day.
Thank you!
We started getting reports from content editors the block inserter was throwing errors after we upgraded to WordPress CORE 6.5.5. We think we eventually track it down to the wp_pattern_category REST endpoint needing to be enabled on the Taxonomy tab in the WP REST API Controller settings. Once that was turned on the error went away. We are using a number of other plugins, so it’s possible there’s some overlap there. We’re submitting this in case others run across this and or it’s an issue with vanilla WP CORE and this plugin. You may want to update the default config when this plugin is installed to have that endpoint enabled or have a warning in the install instructions ?? Thanks for providing this plugin and maintaining it!
]]>Currently, I’m facing difficulties with authentication when attempting to utilize WordPress default APIs, particularly for actions like posting comments. Despite ensuring correct authentication protocols, I consistently receive a 404 error.
After thorough troubleshooting, it seems that the presence of the WP REST API Controller plugin is directly affecting the authentication process, leading to this unexpected behavior.
]]>Hello!
Is there a way to configure / change the visibility of keys in the original endpoint of WooCommerce (/wp-json/wc/v3/orders)?
Or is there a way to bring information of orders, products, … together in one endpoint?
Kind regards,
Klaus
]]>Unable update the API Post type settings. Everytime I save the settings it reverts back to it’s original state on reload. Any help would be appriciated.
]]>I am looking to retrieve a subset of the records for a custom post type based on a value in an ACF field. The application is to allow our mobile app developer to call my site’s REST API for conference sessions, but only the ones with a flag set.
Functionally, I’d like to just add the query param and value to the end of the url, like this:
https://www.immunology2023.org/wp-json/wp/v2/session?app_share=1
I’ve seen the WordPress documentation for doing this, but it includes the creation of a new REST endpoint, and I want to add this query param to an existing endpoint generated by the WP REST API Controller plugin.
Any advice? Code samples welcome!
Thanks!
]]>Hey!
When I enable the plugin for my WordPress site, I am suddenly unable to upload Featured Images for posts. Getting the following message:
“To edit the featured image, you need permission to upload media.”
What is the cause of this? Something specific that needs to be enabled in the API?
Thanks
– Corfitz
]]>Hi,
i have a mylisting theme with custom taxonomies, when i switch on some taxonomies it seems not to work, by that i mean when i save it it doesn’t keep the state.
I tried to deactivate all the plugins but it doesn’t work either.
Can you please give me a proper solution?
]]>Hi Evan, l need your assistance with rest api and PHP 8.0.
If i set the fields l want in the rest api l get the follwoing error:
Warning: Undefined array key "custom_key" in /usr/www/users/thefozvzmm/wp-content/plugins/wp-rest-api-controller/wp-rest-api-controller.php on line 320
Warning: Undefined array key "custom_key" in /usr/www/users/thefozvzmm/wp-content/plugins/wp-rest-api-controller/wp-rest-api-controller.php on line 320
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/www/users/thefozvzmm/wp-content/plugins/wp-rest-api-controller/wp-rest-api-controller.php:320
Stack trace:
#0 /usr/www/users/thefozvzmm/wp-content/plugins/wp-rest-api-controller/wp-rest-api-controller.php(255): WP_REST_API_Controller->get_original_meta_key_name('at_biz_dir', '_price', false)
#1 /usr/www/users/thefozvzmm/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(433): WP_REST_API_Controller->custom_meta_data_callback(Array, '_price', Object(WP_REST_Request), 'at_biz_dir')
#2 /usr/www/users/thefozvzmm/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1923): WP_REST_Controller->add_additional_fields_to_object(Array, Object(WP_REST_Request))
#3 /usr/www/users/thefozvzmm/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(377): WP_REST_Posts_Controller->prepare_item_for_response(Object(WP_Post), Object(WP_REST_Request))
#4 /usr/www/users/thefozvzmm/wp-includes/rest-api/class-wp-rest-server.php(1143): WP_REST_Posts_Controller->get_items(Object(WP_REST_Request))
#5 /usr/www/users/thefozvzmm/wp-includes/rest-api/class-wp-rest-server.php(990): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wp/v2/at_biz_d...', Array, NULL)
#6 /usr/www/users/thefozvzmm/wp-includes/rest-api/class-wp-rest-server.php(414): WP_REST_Server->dispatch(Object(WP_REST_Request))
#7 /usr/www/users/thefozvzmm/wp-includes/rest-api.php(394): WP_REST_Server->serve_request('/wp/v2/at_biz_d...')
#8 /usr/www/users/thefozvzmm/wp-includes/class-wp-hook.php(307): rest_api_loaded(Object(WP))
#9 /usr/www/users/thefozvzmm/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#10 /usr/www/users/thefozvzmm/wp-includes/plugin.php(524): WP_Hook->do_action(Array)
#11 /usr/www/users/thefozvzmm/wp-includes/class-wp.php(398): do_action_ref_array('parse_request', Array)
#12 /usr/www/users/thefozvzmm/wp-includes/class-wp.php(770): WP->parse_request('')
#13 /usr/www/users/thefozvzmm/wp-includes/functions.php(1330): WP->main('')
#14 /usr/www/users/thefozvzmm/wp-blog-header.php(16): wp()
#15 /usr/www/users/thefozvzmm/index.php(17): require('/usr/www/users/...')
#16 {main}
thrown in /usr/www/users/thefozvzmm/wp-content/plugins/wp-rest-api-controller/wp-rest-api-controller.php on line 320
if i just enable the plugin and all fields not selected the API works.
I need the following fields for my app to work in php 8.0 to be able to sent notifications based on location and distance from coordinates.
Fields needed in rest api: _manual_lat and _manual_lng if l enable them the rest api won’t work is there a way to get these values like meta_fields in PHP l can use
]]>Hi – when we have WP REST API Controller enabled, our Envira Gallery plugin gives the following error:
“Your site doesn’t include support for the “envira/envira-gallery” block….”
Also, the Envira Gallery bock isn’t present in the page block inserter list of blocks.
When we disable WP REST API Controller, the error goes away and the block is displayed in the blocks list.
We’ve tried enabling all post types and taxonomies then clearing the REST API cache. It didn’t seem to have an effect.
Environment:
WP CORE 6.0.2
WP REST API Controller 2.1.2
Envira Gallery Lite 1.8.4.6 (we’re using the pro version, but we tested with the lite and it appears to have the same issue).
Thanks for any help you can send our way.
]]>Hi Support need assistance with the plugin error title above. I have disabled all plugins and the error only goes away when l downgrade to PHP 7.4 which is not going to be supported by my hosting provider.
Plugin Version: Version 2.1.1
I have upgraded my PHP to 8.1 and the WP REST API Controller for listing listings link above is the only one not working the other api links below works:
Working
https://www.legalconnect.co.za/wp-json/wp/v2/at_biz_dir-category
https://www.legalconnect.co.za/wp-json/wp/v2/at_biz_dir-location
Not Working
https://www.legalconnect.co.za/wp-json/wp/v2/at_biz_dir
Error Returned
Warning: Undefined array key "custom_key" in /usr/www/users/legalqtrdn/wp-content/plugins/wp-rest-api-controller/wp-rest-api-controller.php on line 320
Warning: Undefined array key "custom_key" in /usr/www/users/legalqtrdn/wp-content/plugins/wp-rest-api-controller/wp-rest-api-controller.php on line 320
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/www/users/legalqtrdn/wp-content/plugins/wp-rest-api-controller/wp-rest-api-controller.php:320
Stack trace:
#0 /usr/www/users/legalqtrdn/wp-content/plugins/wp-rest-api-controller/wp-rest-api-controller.php(255): WP_REST_API_Controller->get_original_meta_key_name('at_biz_dir', '_tagline', false)
#1 /usr/www/users/legalqtrdn/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(433): WP_REST_API_Controller->custom_meta_data_callback(Array, '_tagline', Object(WP_REST_Request), 'at_biz_dir')
#2 /usr/www/users/legalqtrdn/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1923): WP_REST_Controller->add_additional_fields_to_object(Array, Object(WP_REST_Request))
#3 /usr/www/users/legalqtrdn/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(377): WP_REST_Posts_Controller->prepare_item_for_response(Object(WP_Post), Object(WP_REST_Request))
#4 /usr/www/users/legalqtrdn/wp-includes/rest-api/class-wp-rest-server.php(1143): WP_REST_Posts_Controller->get_items(Object(WP_REST_Request))
#5 /usr/www/users/legalqtrdn/wp-includes/rest-api/class-wp-rest-server.php(990): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wp/v2/at_biz_d...', Array, NULL)
#6 /usr/www/users/legalqtrdn/wp-includes/rest-api/class-wp-rest-server.php(414): WP_REST_Server->dispatch(Object(WP_REST_Request))
#7 /usr/www/users/legalqtrdn/wp-includes/rest-api.php(394): WP_REST_Server->serve_request('/wp/v2/at_biz_d...')
#8 /usr/www/users/legalqtrdn/wp-includes/class-wp-hook.php(307): rest_api_loaded(Object(WP))
#9 /usr/www/users/legalqtrdn/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#10 /usr/www/users/legalqtrdn/wp-includes/plugin.php(524): WP_Hook->do_action(Array)
#11 /usr/www/users/legalqtrdn/wp-includes/class-wp.php(398): do_action_ref_array('parse_request', Array)
#12 /usr/www/users/legalqtrdn/wp-includes/class-wp.php(770): WP->parse_request('')
#13 /usr/www/users/legalqtrdn/wp-includes/functions.php(1330): WP->main('')
#14 /usr/www/users/legalqtrdn/wp-blog-header.php(16): wp()
#15 /usr/www/users/legalqtrdn/index.php(17): require('/usr/www/users/...')
#16 {main}
thrown in /usr/www/users/legalqtrdn/wp-content/plugins/wp-rest-api-controller/wp-rest-api-controller.php on line 320
]]>
Hi,
When we initially tested WP REST API Controller, it worked. However, after a few months we returned to find it not working without us having changed it’s configuration that we’re aware of. We’re unsure if we updated the plugin in that time. We’re currently using version 2.1.0 with WordPress 6.0.1 and PHP 8. When we enable the plugin, the standard media REST endpoint for WordPress breaks. It took us some time to discover the plugin was overriding the media endpoint with an “attachments” endpoint. Once we renamed the attachments endpoint to media and activated the related meta keys, the media endpoint started working as expected.
Another issue we ran into related to this was users were reportedly unable to add feature images to posts while the media endpoint was set to attachments. Once we changed the endpoint to “media”, users were able to upload feature images again.
We’re posting this in case others run into a similar issue or the plugin developers want to add an FAQ or tweak the plugin to use media instead of attachments for the endpoint.
Thanks!
]]>I configured your tool to expose all fields of a particular post type to REST API. I am able to GET all fields, but when I try to update via POST or other methods, nothing happens. The post type and fields were created by a plugin, but I need the ability to update the data via API… help?
]]>Hi!
It is possible to integrate Geotargeting?
I have an Offer Wall iOS and Android app , that uses WordPress.
Based from the country where the call is made, to display different posts?
I know i can do it by adding the Geo code inside the URL, but that means i have to update the app code as well. Maybe there is a way to do it without updating the native apps code.
Thanks!
]]>I developed an app with wordpress rest api, retrieving posts from the wordpress site.
I am having this problem.
“wp:featuredmedia”: [
{
“code”: “rest_forbidden”,
“message”: “Non hai i permessi per farlo.”,
“data”: {
“status”: 401
}
}
I tried unchecking the ‘Prevent discovery of usernames through’ /? Author = N ‘scans, the oEmbed API, the WordPress REST API, and WordPress XML Sitemaps’ entry in the Wordfence plugin, but the problem persists.
]]>The last 2 versions are not reflected in the plugin’s changelog.
]]>After WP REST API Controller has been updated to 2.0.6 on 3 sites the following error message appeares in the top of an admin pannel:
Warning: The use statement with non-compound name ‘wp_rest_api_controller’ has no effect in /home/menacoby/menaco.ru/wp-content/plugins/wp-rest-api-controller/admin/partials/settings-functions.php on line 7
Hello
I am using WP REST API Controller right now
And its a great plugin but i noticed that the plugin cannot post data on meta-key (wp_postmeta)
It can can still let you view data stored there but cannnot insert data in these fields even though they are enabled with your plugin
Can you help us please?
]]>Hello.
I’m using custom pods to create a small application and I can see all fields in one of my pods, but not in the other one, like, I already enabled it but it’s not displaying the fields as the other one. I’ve got the exact same settings in both of them and still nothing.
Thanks
]]>hello,
hope i can describe it well:
i renamed a meta key “_xyz_listing_type” to “listing_type”.
“_xyz_listing_type” is displayed in Postman on level 4 below listing_data->.
the renamed output is one level higher like the example below:
level1->level2->level3->listing_data->”_xyz_listing_type”: “transportation”,
….
….
level1->level2->level3->”listing_type”: “transportation”,
I need the renamed field in level4 under the listing_data?
any idea why the original field “_xyz_listing_type” appears with and entry and the customised meta key appears one level higher?
how od I get the customized meta key under the lising_data level?
thanks for your help
Stephan
I’m developing an app that use dynamic links I’m using this plugin and I can search for a specific element using its ID in my case something link “https://example.com/wp-json/wp/v2/listing/20” but I want to search by the wordress url for example https://example.com/my-element there are any endpoint that will search by that?
]]>First off: love this plugin. Simple and effective.
My only issue is that I have noticed that this plugin only returns the ID of an Advanced Custom Fields Images instead of the entire object of data.
Current behaviour:
"primary_photo": "833",
Expected behaviour:
"primary_photo": {
"ID": 833,
"id": 833,
"title": "inbound4610837211966458741.jpg",
"filename": "inbound4610837211966458741.jpg",
"filesize": 584439,
"url": ".../inbound4610837211966458741.jpg",
"link": .../inbound4610837211966458741-jpg/",
"alt": "",
"author": "0",
"description": "",
"caption": "",
"name": "inbound4610837211966458741-jpg",
"status": "inherit",
"uploaded_to": 832,
"date": "2020-05-21 17:36:06",
"modified": "2020-05-21 17:36:10",
"menu_order": 0,
"mime_type": "image/jpeg",
"type": "image",
"subtype": "jpeg",
"icon": ...",
"width": 1536,
"height": 2048,
"sizes": {.../inbound4610837211966458741-150x150.jpg",
"thumbnail-width": 150,
"thumbnail-height": 150,
"medium": ".../inbound4610837211966458741-225x300.jpg",
"medium-width": 225,
"medium-height": 300,
"medium_large": .../inbound4610837211966458741-768x1024.jpg",
"medium_large-width": 768,
"medium_large-height": 1024,
"large": ".../inbound4610837211966458741-768x1024.jpg",
"large-width": 768,
"large-height": 1024
}
},
]]>
Every time I enable a taxonomy, it goes back to disabled after I save the changes. Any assistance would be greatly appreciated.
]]>This plugin is GREAT. It returns all the information I need from my site, but I dont want everyone to have access to the data via the exposed endpoints. Is there a way to make it use a token or password to only allow authorised users access to the data?
Thanks
]]>Hi !
I have ninja table plugin and in wp rest api controller I wanna make a link for call just a parameter like ” _ninja_table_column ” not all of them .
I was wondering if you tell which link can I use for it .
that link
&_fields[]=_ninja_table_columns
is not working !
I am using the Rest API controller for my mobile app to link with the wordpress site. Out of nowhere the plugin is not saving the Taxonomies.
Im on WordPress 5.6
Woocommerce Vendors
JWT Authentication for WP-API
Directorist – Business Directory Plugin
Not sure if the issue is with disc space if it would affect saving,
]]>Hi there
I activated a endpoint for a custom post type, and it returns the fields/meta I’ve set in parameters.
But when I want to filter the result with the _fields argument, I get only fields I want, ok … but the meta doesn’t have value anymore (its null !)
I have miss something ?
]]>Hi there
Thanks for your plugin, it works quite fine.
I have some trouble in configuration pane : for each custom post type, there is a lot -tons!- of meta keys suffixed by _oembed_ …
I don’t know from where it comes, if its an anomaly due to another plugins or whatever … it makes the configuration page hard to use (slow, huge scrolling, can make crash some browser extension based on input…)
First, I wan’t to know if it’s some data that I can cleanup somewhere to avoid this problem … without breaking things ^^ ?
Some suggestion in all cases :
– Make each custom post type sub configuration a collapsed by default panel.
– Give the possibility to hide some meta key (and show back hidden meta)
Thanks for answer(s) !
]]>hello,
I have conflict of this plugin on my site with Elementor.
When its enabled when I click on dashboard-pages-edit any page … and click anywhere it freeze that browser tab.
When plugin is disabled, everything works fine.
]]>hi i have this problems on my site health
REST API request failed due to an error.
cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received (http_request_failed)
i install this plugin and enable all button but i stll have this problem how i should fix it ? does it important?