moodleou / moodle-mod_forumng

ForumNG forum module for Moodle
19 stars 20 forks source link

When converting Forums getting Coding error detected, it must be fixed by a programmer: PHP catchable fatal error #61

Closed parthiulcc closed 8 years ago

parthiulcc commented 8 years ago

Convert forums Second Year Students Discussion Forum

Creating forum structure... done.
Converting initial subscriptions...

Coding error detected, it must be fixed by a programmer: PHP catchable fatal error

More information about this error
Debug info: Argument 1 passed to core_availability\info_module::__construct() must be an instance of cm_info, instance of stdClass given, called in [dirroot]/mod/forumng/mod_forumng.php on line 2177 and defined
Error code: codingerror
Stack trace:
    line 393 of /lib/setuplib.php: coding_exception thrown
    line 45 of /availability/classes/info_module.php: call to default_error_handler()
    line 2177 of /mod/forumng/mod_forumng.php: call to core_availability\info_module->__construct()
    line 2239 of /mod/forumng/mod_forumng.php: call to mod_forumng->get_auto_subscribers()
    line 4507 of /mod/forumng/mod_forumng.php: call to mod_forumng->get_subscribers()
    line 87 of /mod/forumng/convert.php: call to mod_forumng::create_from_old_forum()
parthiulcc commented 8 years ago

it does not look like a bug. ForumNG does not deal with Force Subscribtion!