Error Message
-
Running UM alongside Polylang I get this message:
Notice: Use of undefined constant ICL_LANGUAGE_CODE – assumed ‘ICL_LANGUAGE_CODE’ in /home/xxxxxx/public_html/home/wp-content/plugins/ultimate-member/core/um-rewrite.php on line 54
Line 54 reads:
if( function_exists(‘icl_get_current_language’) ){
$language_code = icl_get_current_language();
}else if( function_exists(‘icl_object_id’) ){
$language_code = ICL_LANGUAGE_CODE; //LINE 54
}How can I get rid of this error?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Error Message’ is closed to new replies.