Error when adding a new lecture
Using WP 3.2.1, BP 1.5, CW 0.9 and am getting this error when clicking the “Add new lecture” button:
Warning: reset() expects parameter 1 to be array, null given in /home/mcorgan/dev.researchables.com/wp-content/plugins/buddypress-courseware/lectures/lectures.class.php on line 319
Upon further investigation, it appears as though $term_id in function has_courses in class courses.class.php is returning null. This is causing has_courses to return null. What would cause this?
Clicking on any of the other buttons works fine. BTW, this is the very first lecture attempting to be added to a course.
- The topic ‘Error when adding a new lecture’ is closed to new replies.