Meta Box
Support Forum
Support › General › Blank Variable Error
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.
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;