Exception: Could not find closing tag </ss:logic:if>


Debug Info:
- $strSnippet: ' <div style="color: #b00;" class="marginTop10"> Note: [? $course[\'course_comment\'] ?] </div> </logic:if> <ss:logic:if test="\\Components\\Settings\\ConfigurationItems::getValue(\'\\Components\\AF\\Courses\\CollectiveCourses\', \'membership_may_be_required\')"> <ss:logic:if test="\\Components\\Commerce\\Products::getColumn($course[\'product_id\'], \'product_requires_membership\')"> <div style="color: #b00;" class="marginTop10"> A valid membership is required in order to enroll in this course </div> </logic:if> </logic:if> <ss:logic:if test="\\Components\\Settings\\ConfigurationItems::getValue(\'\\Components\\AF\\Courses\\CollectiveCourses\', \'registration_fee_may_be_required\')"> <ss:logic:if test="$course[\'course_requires_registrationfee\']"> <div style="color: #b00;" class="marginTop10"> A valid registration fee is required in order to enroll in this course <ss:logic:if test="\\Components\\Settings\\ConfigurationItems::getValue(\'\\Components\\AF\\Courses\\CollectiveCourses\', \'registration_fee_members_exempted\')"> (members are exempt). </logic:if> </div> </logic:if> </logic:if> <ss:logic:variable as="course_levels" value="[? \\Components\\AF\\Courses\\Levels::getAllLevelIdsForCourse($course[\'course_id\']) ?]" /> <ss:logic:if test="strlen($course[\'course_objectives\'])"> <div class="marginTop10"> <strong>Objectives</strong><br /> <ss:logic:parse text="[? $course[\'course_objectives\'] ?]" /> <div style="clear: both;"></div> </div> </logic:if> <ss:logic:else test="count($course_levels)"> <ss:logic:variable as="level" value="[? \\Components\\AF\\Courses\\Configuration\\Levels::get($course_levels[0]) ?]" /> <ss:logic:if test="$level[\'level_objectives\']"> <div class="marginTop10"> <strong>Objectives</strong><br /> <ss:logic:parse text="[? $level[\'level_objectives\'] ?]" /> <div style="clear: both;"></div> </div> </logic:if> </logic:else> <ss:logic:variable as="books_required" value="[? \\Components\\AF\\Courses\\Materials::getAllRequiredForCourse($course[\'course_id\'], true) ?]" /> <ss:logic:variable as="books_recommended" value="[? \\Components\\AF\\Courses\\Materials::getAllRecommendedForCourse($course[\'course_id\'], true) ?]" /> <ss:logic:if test="($books_required && count($books_required)) || ($books_recommended && count($books_recommended))"> <div class="marginTop10"> <ss:logic:if test="count($books_required)"> <strong>Required Course Material</strong> <div id="required_material_container"> <ss:data:repeater as="book" datasource="$books_required"> <div> <div class="materialImage"> <ss:logic:if test="$book[\'product_icon\']"> <ss:standard:image src="[? $book[\'product_icon\'] ?]" width="80" /> </logic:if> </div> <div class="materialPrice">[? formatCurrency($book[\'product_price_base\']) ?]</div> <div class="materialTitle[? $book[\'product_icon\'] ? \' hasPicture\' : \'\' ?]">[? $book[\'product_title\'] ?]</div> <div class="materialDescription[? $book[\'product_icon\'] ? \' hasPicture\' : \'\' ?]">[? $book[\'product_content\'] ?]</div> <div style="clear: both;">&nbsp;</div> </div> </data:repeater> </div> </logic:if> <ss:logic:if test="$books_recommended && count($books_recommended)"> <ss:logic:if test="$books_required && count($books_required)"> <br /> </logic:if> <strong>[? \\Components\\AF\\Courses\\CollectiveCourses::configGetValue(\'recommended_course_material_title\') ?]</strong> <div id="recommended_material_container"> <ss:data:repeater as="book" datasource="$books_recommended"> <div> <div class="materialImage"> <ss:logic:if test="$book[\'product_icon\']"> <ss:standard:image src="[? $book[\'product_icon\'] ?]" width="80" /> </logic:if> </div> <div class="materialPrice">[? formatCurrency($book[\'product_price_base\']) ?]</div> <div class="materialTitle[? $book[\'product_icon\'] ? \' hasPicture\' : \'\' ?]">[? $book[\'product_title\'] ?]</div> <div class="materialDescription[? $book[\'product_icon\'] ? \' hasPicture\' : \'\' ?]">[? $book[\'product_content\'] ?]</div> <div style="clear: both;">&nbsp;</div> </div> </data:repeater> </div> </logic:if> </div> </logic:if>'


in /usr/lib/php/Oncord/beta/Framework/DOM/Features/Controls/TokenHandler/TokenHandler.inc.php line 171