This topic contains 4 replies, has 4 voices, and was last updated by  Steve 1 month ago.

  • Author
    Posts
  • #9308

    Ico
    Participant

    Hi 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'
                )
            )
        )
    ));
    
    ?>
  • #9309

    Steve
    Keymaster

    @bassta– I was able to reproduce the issue. I’ve added it to our list of bug fixes.

  • #9314

    abmsourav
    Participant

    Facing the same problem…

  • #9319

    Pierre Brihat
    Participant

    Me too. Is is possible to revert to Piklist 1.0.2 ?

    Pierre

  • #9331

    Steve
    Keymaster

    You 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.

You must be logged in to reply to this topic.