Course comments bug

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10467
    isigma
    Spectator
    If course comment added at the course backend (by editor), the actual course page crashes with Fatal error: Unsupported operand types in ..\wp-content\themes\wplms_modern\includes\init.php on line 508  
    #10575
    Anshuman Sahu
    Keymaster
    This is an issue .thnaks for reporting this to us .We will be fixing this in next update of wplms modern theme . To quick  fix this Goto ->  appearnce -> editor . Select modern theme to edit . Then find the init.php file . Then find the " function bp_course_display_rating " in init file . Change this line : $reviews = 5 + $reviews; To this : $reviews = 5 + intval($reviews); refer : http://prntscr.com/96rax1
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Course comments bug’ is closed to new replies.