qTranslate X & Learndash LMS quizzes
-
Can someone give me a hint about what the problem is? Not sure if the cause is Learndash or qTranslate X. When I try to create/edit a quiz, I get bunch of these:
Warning: Invalid argument supplied for foreach() in /home/kogaqtrans/qtranslate.kogaeikaiwa.com/wp-content/plugins/qtranslate-x/admin/qtx_configuration.php on line 150 Warning: Invalid argument supplied for foreach() in /home/kogaqtrans/qtranslate.kogaeikaiwa.com/wp-content/plugins/qtranslate-x/admin/qtx_configuration.php on line 150
Line 150 is this function:
function qtranxf_collect_translations( &$q_request, &$request, $edit_lang ) { if(isset($q_request[$edit_lang])){ $texts = &$q_request; $texts[$edit_lang] = $request; if(isset($texts['sep'])){ $sep = $texts['sep']; unset($texts['sep']); }else{ $sep = '['; } $text = qtranxf_join_texts($texts,$sep); $request = $text; }else{ foreach($q_request as $f => $r){ qtranxf_collect_translations($q_request[$f],$request[$f],$edit_lang); // recursive call } } }
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘qTranslate X & Learndash LMS quizzes’ is closed to new replies.