Sputznik / orbit-bundle

Create wordpress custom post types and custom taxonomies. Search and filter through the wordpress post types and create custom queries using simple shortcodes.
GNU General Public License v3.0
0 stars 0 forks source link

Php Warning on CPT Custom fields of type Dropdown and Checkbox #56

Open jayvardhan opened 5 years ago

jayvardhan commented 5 years ago

Warning: explode() expects parameter 2 to be string, array given in orbit-bundle/orbit-search/class-orbit-custom-field.php on line 90

Warning: Invalid argument supplied for foreach() in orbit-bundle/orbit-search/class-orbit-custom-field.php on line 94

To reproduce this warning: Add dropdown/checkbox custom fields in any custom post type and save. Click Add New CPT_NAME to create new custom post type item.

samvthom16 commented 5 years ago

@jayvardhan can you test this again?

jayvardhan commented 5 years ago

@samvthom16 Previous two are gone, however, in place of options php notice is poping : Notice: Array to string conversion in /wp-includes/l10n.php on line 296