WordPress.org

Support

Support » Plugins and Hacks » Simple Fields » Illegal offset type in simple-fields\functions.php on line 83

Illegal offset type in simple-fields\functions.php on line 83

  • Hi,

    I have a custom post type that I’m trying to retreive values from. The first custom field is a standard dropdown menu, and the second is a multi-select dropdown menu.

    The first dropdown menu I can use the following for, which retrieves the value correctly:
    simple_fields_get_post_value(get_the_id(),array(1, 2), true);

    However I get the below error when I try and use the code to retrive the multi-select value:

    Illegal offset type in simple-fields\functions.php on line 83

    simple_fields_get_post_value(get_the_id(),array(1, 10), true);

    What am I doing wrong?

    Thanks, Chris

    http://wordpress.org/plugins/simple-fields/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Illegal offset type in simple-fields\functions.php on line 83’ is closed to new replies.
Skip to toolbar