Closed bollycanuk closed 4 years ago
Open up that file and just above line 165 add this: $customfieldcontent = '';
Let me know if that fixes the issue.
Just testing various scenarios. Seems to be related to the Course Style Display setting. If I choose anything other than Corporate Learner or Moodle Course default I get the error.
Sorry, Course Tile Display and Corporate Training - minimal ....
I provided the solution. But I also just posted version 1.2.1 which fixes this.
Yup, that did the trick! Thanks !
I'll leave this open in case others have this issue they can see the solution or download the update. Thanks for posting the issue. In my test setup I didn't get an issue. Mainly because I was already using Custom Fields. When I turned that off the issue appeared and I knew right away what was missing.
Installed the latest version of Fordson theme on my Moodle site with latest build (Moodle 3.7.1+ (Build: 20190824)). Now on Front page the follows error message is displayed 58 times just below the icon section.
Notice: Undefined variable: customfieldcontent in /home/astenj5/public_html/ate/ajolt_test/theme/fordson/classes/output/core/course_renderer.php on line 205