Forum Replies Created
-
AuthorPosts
-
[email protected]
ParticipantThe latest update still has not fixed this issue ๐
[email protected]
ParticipantVia API Calls, all the custom post data are saved somewhere, not in post meta table or custom post table.
You can see the post with all data on the admin page. and then all data will disappear.[email protected]
ParticipantI could save datas to Custom Table via API calls on Metabox 5.6.4 + Metabox AIO 1.16.2 (and older versions)
But after updating MB plugins. The API runs normally but It no longer saved to Custom Table any more
Did Anyone get that problem?
I must keep old version and stop updating MB long time ago to keep everything work via API
ThanksDecember 8, 2022 at 8:04 PM in reply to: โ Slow performing queries called by metabox\c\api::create() #39610[email protected]
ParticipantTo eliminate this issue, a simple way is that you run the code to create a custom table only once. When the table is created, you can remove that code from your theme/plugin. The plugin will work well as the table is existing and match the fields.
I got exactly the same problem. Could you show this solution in detailed?
ThanksJune 7, 2022 at 1:30 AM in reply to: How to retrieve and update custom field via API (shop_coupon) #36344[email protected]
Participant404 error when I using endpoint: /wp-json/wp/v2/posts/{post_id} or /wp-json/wp/v2/coupons/{post_id}
200 OK with endpoint: /wp-json/wc/v3/coupons/{post_id} BUT NOTHING HAPPEN, field not updatedJune 7, 2022 at 1:20 AM in reply to: How to retrieve and update custom field via API (shop_coupon) #36343[email protected]
ParticipantYes, I follow that post but got the response:
{ "code": "rest_post_invalid_id", "message": "Invalid post ID.", "data": { "status": 404 } }(Note: the post type is shop_coupon not single post, terms, single term, users, single user)
How to solve it? -
AuthorPosts