Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Number type field is saved as Array #11008
    naurojr
    Member

    On my tests, if you do 'min' => '0' with a single quote on the zero instead of 'min' => 0 without it, you get the value saved as it was a string, outside the array. Why? I can’t explain but worked for me.

    in reply to: Problem with Front End Form when not logged #9066
    naurojr
    Member

    Hi Steve,

    Regarding saving the data, everything is work perfectly. I only found a minor bug.
    When you have required fields, that are not filled and hit submit.
    The page shows the success message and the error messages all at the same time.

    See screenshot attached.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Problem with Front End Form when not logged #9061
    naurojr
    Member

    It works like a charm 🙂 I will make some additional tests and let you know if something breaks, but it looks like everything will work. Thank you very much for your help.

    in reply to: Problem with Front End Form when not logged #9058
    naurojr
    Member

    Thank you Steve. Do you have any estimate on when that would be working? No pressure, just want to plan accordingly.

    By the way, great work on Piklist improvements.

    Best regards,

    Nauro Rezende Jr.

    in reply to: PiKList Error after update #8957
    naurojr
    Member

    Please ignore this questions.
    I’ve figured out that the problem was on the custom template for the fields group.
    Just a reminder to always check the documentation before you update 🙂

    in reply to: Update Script freezes #8331
    naurojr
    Member
    This reply has been marked as private.
    in reply to: Update Script freezes #8317
    naurojr
    Member

    It didn’t work. Now I have this error on the log: [Mon Jul 17 22:56:49.566414 2017] [:error] [pid 19745] [client 108.241.61.30:40578] WordPress database error Table ‘snapshot_orderdesigndpt.wp_post_relationships’ doesn’t exist for query SELECT post_id, has_post_id FROM wp_post_relationships /* From [orderdesigndpt.staging.wpengine.com/wp-admin/admin-ajax.php] in [/nas/content/staging/orderdesigndpt/wp-content/plugins/piklist/parts/updates/0.9.9.php:159] */ made by do_action(‘wp_ajax_piklist_update_0_9_9’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, Piklist_Update_0_9_9->ajax, referer: http://orderdesigndpt.staging.wpengine.com/wp-admin/admin.php?page=piklist_update_0_9_9

    in reply to: Update Script freezes #8314
    naurojr
    Member

    this is line 14:
    $porder_id = str_pad($wpdb->get_var(“SELECT sysid FROM $table_name WHERE object_id = “.$post->ID),5,0,STR_PAD_LEFT);

    and below you have the entire script. Note that the script was working prior to the update.

    <?php
    /*
    Title: Purchase Order Number
    Post Type: purchaseorder
    Collapse: false
    Locked: true
    Context: side
    Order: 1
    */
    ?>

    <?php
    $table_name = $wpdb->prefix . ‘so_sysref’;
    $porder_id = str_pad($wpdb->get_var(“SELECT sysid FROM $table_name WHERE object_id = “.$post->ID),5,0,STR_PAD_LEFT);
    ?>
    <h1 style=”text-align:center;”><?php echo $porder_id; ?></h1>

    in reply to: Locked not working #3551
    naurojr
    Member

    Same thing here!

Viewing 9 posts - 1 through 9 (of 9 total)