• Hi! Still using the plugin with the pro version πŸ™‚

    But I’m having this log error:

    Trying to get property of non-object in wp-content/plugins/usernoise-pro/inc/template.php:249

    call stack:
    un_get_feedback_types_for_form()
    wp-content/plugins/usernoise-pro/inc/template.php:297
    un_get_form_fields()
    wp-content/plugins/usernoise-pro/inc/template.php:337
    un_script()
    wp-content/plugins/usernoise-pro/admin/settings.php:224
    UN_Settings->get_external_html()
    wp-content/plugins/usernoise-pro/admin/settings.php:206
    UN_Settings->get_external_fields()
    wp-content/plugins/usernoise-pro/admin/settings.php:37
    UN_Settings->__construct()
    wp-content/plugins/usernoise-pro/admin/settings.php:243

    Any ideas?
    Thank you

Viewing 1 replies (of 1 total)
  • Hello
    I have the same problem,
    edit usernoise/inc/template.php
    go ligne 249
    and change function un_get_feedback_types_for_form() to
    function un_get_feedback_types_for_form(){
    $types = get_terms(FEEDBACK_TYPE, array(‘un_orderby_meta’ => ‘position’, ‘hide_empty’ => false));
    $result = array();
    if(is_array($types))
    {
    foreach($types as $type){
    $result[$type->slug] = $type->name;
    }
    }
    return $result;
    }

    Works for me

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Error call of non-object in PRO version’ is closed to new replies.