Blank Variable Error

Support General Blank Variable Error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7763
    dijitalgezgindijitalgezgin
    Participant

    Hello,

    If I enter blank a input when I add a variable, it's get the error.
    PHP part: http://prntscr.com/hjkwai
    Error: http://prntscr.com/hjkxeq

    If I enter a data, the error will fix.

    Can you help me?

    Kind regards.

    #7765
    Anh TranAnh Tran
    Keymaster

    Hi,

    Looks like you're using cloneable groups. For each value of a group, please check the existence of sub-fields, like this:

    $title = isset( $item_item_item['title'] ) ? $item_item_item['title'] : '';
    echo $title;
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.