- This topic has 13 replies, 8 voices, and was last updated 2 years, 4 months ago by
danibru.
-
AuthorPosts
-
-
January 31, 2019 at 5:42 am #9308
IcoMemberHi All,
After updating Piklist 1.0.3 on WP 5.0.3 I noticed that custom metaboxes ( repeaters ) that worked , now are not saving in database. Everything worked normal, no changed in code. Does someone have such an issues and how you resolved this? Here is my code:<?php /* Title: Distributors list Template: page-distributors */ piklist('field', array( 'type' => 'group', 'field' => 'distributors', 'label' => __('Distributors', 'stk'), 'list' => false, 'description' => __('Dealers / Distributors.', 'stk'), 'add_more' => true, 'fields' => array( array( 'type' => 'text', 'field' => 'distributor_country', 'label' => __('Country', 'stk'), 'required' => true, 'columns' => 12, 'attributes' => array( 'placeholder' => 'Country' ) ), array( 'type' => 'text', 'field' => 'distributor_name', 'label' => __('Name', 'stk'), 'required' => true, 'columns' => 12, 'attributes' => array( 'placeholder' => 'Name' ) ), array( 'type' => 'text', 'field' => 'distributor_website', 'label' => __('Website', 'stk'), 'required' => false, 'columns' => 12, 'attributes' => array( 'placeholder' => 'Website' ) ), array( 'type' => 'text', 'field' => 'distributor_email', 'label' => __('E-mail', 'stk'), 'required' => false, 'columns' => 12, 'attributes' => array( 'placeholder' => 'E-mail' ) ), array( 'type' => 'text', 'field' => 'distributor_phone', 'label' => __('Phone', 'stk'), 'required' => false, 'columns' => 12, 'attributes' => array( 'placeholder' => 'Phone' ) ) ) )); ?> -
February 1, 2019 at 6:31 pm #9309
-
February 11, 2019 at 11:17 am #9314
abmsouravParticipantFacing the same problem…
-
February 21, 2019 at 11:40 am #9319
Pierre BrihatMemberMe too. Is is possible to revert to Piklist 1.0.2 ?
Pierre
-
March 21, 2019 at 3:21 pm #9331
SteveKeymasterYou can download v1.0.2 at the bottom of this page: https://wordpress.org/plugins/piklist/advanced/
Please let us know if it fixes your issue.
-
May 12, 2019 at 5:36 am #9384
oferliParticipant@Steve,
I have the same problem. downgrade to v1.0.2 didn’t solve it.
I notice that it doesn’t save only in posts and pages, but do save when it is in custom post type
-
June 4, 2019 at 2:37 am #9401
thorMemberI had a problem once with custom fields not being saved on pages – don’t know if it relates to this problem, but it worked for me. The workaround was to remove WP’s custom-fields:
add_action( 'init', 'custom_fields_work' ); function custom_fields_work() { remove_post_type_support( 'page', 'custom-fields' ); } -
June 6, 2019 at 1:15 pm #9404
SteveKeymasterYup… that is the usually the case: https://piklist.github.io/docs/faq/fields-not-saving/
-
June 12, 2019 at 2:45 am #9407
oferliParticipant@steve adding remove_post_type_support( ‘page’, ‘custom-fields’ ); disabled the custom fields BUT didn’t solve the issue. Piklist metaboxes are not saved.
Just to make it clear … when I click on the update button it show the right saved value(s), BUT when I exit the edit page/post and re-enter it revert to the old values.
-
-
June 20, 2019 at 11:45 am #9415
SteveKeymasterPiklist is not fully compatible for WordPress 5.0+. Please use the Classic Editor plugin which allows it to work:
-
September 17, 2019 at 5:22 pm #9512
James McMemberWish I had found this post earlier today…
-
September 26, 2019 at 2:31 pm #9513
danibruParticipantRecently, we have had to update WP to 5.2.3 and from then Piklist started to not save custom fields.
Will be there a new release in short which is going to solve this problem? If not, is there any temporal fixing or patch we can apply for avoiding this bug?Thanks in advance!
Dani. -
September 26, 2019 at 3:05 pm #9514
-
September 27, 2019 at 4:44 am #9515
danibruParticipantIt works. Thanks!
However, just to know, will we enjoy a new Piklist version shortly? Thanks in advance!
-
-
AuthorPosts
- The topic ‘Piklist 1.0.3 + WP 5.0.3 – Metaboxes not saving’ is closed to new replies.