Fatal Error when listing courses for an user

Home Forums Legacy Support Support queries Other issues Fatal Error when listing courses for an user

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #140187
    roath
    Spectator
    Hello all, I have the latest WPLMS installed over a Portuguese Wordpress v. 4.9.1. When I click "courses" from any user profile, I get the following error message (see below) Thank you very much. Regards, Rodrigo
    • <li class="switch_view" style="box-sizing: border-box; -webkit-font-smoothing: antialiased; float: right; position: relative; margin: 0px 0px 0px 10px; list-style: none; display: inline-block; text-align: center; border-bottom: none; width: auto;"> <li id="course-order-select" class="last filter" style="box-sizing: border-box; -webkit-font-smoothing: antialiased; float: right; position: relative; margin: 0px; list-style: none; display: inline-block; text-align: center; border-bottom: none; padding: 0px; color: #ffffff;"><select id="course-order-by" style="color: #313b3d; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: 1; font-family: inherit; margin: 0px; -webkit-appearance: none; outline: 0px; max-width: 100%; padding: 0px 24px 0px 10px; height: 36px; vertical-align: middle; border-color: rgba(0, 0, 0, 0.1); background-color: transparent; transition: bordercolor 0.05s ease-in-out; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAHCAYAAAD9NeaIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA+hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZ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QCIibYAZgkDkRaRZQGyJYQsItsCdEtwWUSRBdgsQbeIYgtAgAWHOMwiJSBezkAhAAgwAJSTG/DI0S9VAAAAAElFTkSuQmCC'); background-position: 100% 50%; background-repeat: no-repeat; background-size: auto 15%;"> <option style="box-sizing: border-box;" value="">Selecionar Pedidos</option> <option style="box-sizing: border-box;" value="pursuing">Pursuing courses</option> <option style="box-sizing: border-box;" value="finished">Finished Courses</option> <option style="box-sizing: border-box;" value="active">Active courses</option> <option style="box-sizing: border-box;" value="expired">Expired courses</option> <option style="box-sizing: border-box;" value="newest">Newly Published</option> <option style="box-sizing: border-box;" value="alphabetical">Alphabetical</option> <option style="box-sizing: border-box;" value="start_date">Start Date</option> </select>
    </div>   Fatal error: Uncaught Error: [] operator not supported for strings in G:\xampp\htdocs\wp3\wp-content\plugins\vibe-course-module\includes\bp-course-classes.php:106 Stack trace: #0 G:\xampp\htdocs\wp3\wp-content\plugins\vibe-course-module\includes\bp-course-template.php(679): BP_COURSE->get(Array) #1 G:\xampp\htdocs\wp3\wp-content\themes\wplms\course\my-courses.php(20): bp_course_has_items('&per_page=5&ext...') #2 G:\xampp\htdocs\wp3\wp-includes\template.php(688): require_once('G:\\xampp\\htdocs...') #3 G:\xampp\htdocs\wp3\wp-includes\template.php(647): load_template('G:\\xampp\\htdocs...', true) #4 G:\xampp\htdocs\wp3\wp-content\themes\wplms\members\single\course.php(41): locate_template(Array, true) #5 G:\xampp\htdocs\wp3\wp-includes\template.php(688): require_once('G:\\xampp\\htdocs...') #6 G:\xampp\htdocs\wp3\wp-includes\template.php(647): load_template('G:\\xampp\\htdocs...', true) #7 G:\xampp\htdocs\wp3\wp-content\themes\wplms\members\single\home.php(53): locate_template(Array, true) #8 G:\xampp\htdocs\wp3\wp-includes in G:\xampp\htdocs\wp3\wp-content\plugins\vibe-course-module\includes\bp-course-classes.php on line 106
    #140223
    H.K. Latiyan
    Participant
    Hi, It seems like you are using the php 7.1 version. Please change the php version to 7.0 and then check.
    #140265
    roath
    Spectator
    I've reinstalled XAMP with php v. 7.0 and it worked. Thank you for the help. Best regards, Rodrigo
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error when listing courses for an user’ is closed to new replies.