• wooody

    (@wooody)


    Hi,
    I got this PHP error message after update to latest WPML and Gravity.
    Gravity Forms 2.1.2
    WPML Multilingual CMS 3.6.3

    You got the msg if you click on Gravity forms:
    wp-admin/admin.php?page=gf_edit_forms

    Notice: Undefined index: all in /wp-content/plugins/events-manager-wpml/events-manager-wpml.php on line 348

    I think you need to change:

    return $sitepress_langs[$sitepress_lang]['default_locale'];

    With this:

    if( !empty($sitepress_langs[$sitepress_lang]) ){
    return $sitepress_langs[$sitepress_lang]['default_locale'];
    }else{
    return get_locale();
    }
    • This topic was modified 8 years ago by wooody.
  • The topic ‘PHP error message’ is closed to new replies.