I don't know in what circumstances this could happen, but if edit the entry of box.net in mdl_portfolio_instances, and then remove all the portfolio config associated to it in mdl_portfolio_instances_config... this happens once (and only once) for any user visiting a forum for instance:
Invalid get_string() identifier: 'someinstancesdisabled' or component 'portfolio'. Perhaps you are missing $string['someinstancesdisabled'] = ''; in lang/en/portfolio.php?
|
line 6923 of /lib/moodlelib.php: call to debugging()
|
line 7615 of /lib/moodlelib.php: call to core_string_manager->get_string()
|
line 895 of /lib/portfoliolib.php: call to get_string()
|
line 1092 of /lib/portfoliolib.php: call to portfolio_report_insane()
|
line 872 of /lib/portfoliolib.php: call to portfolio_insane_notify_admins()
|
line 309 of /lib/portfoliolib.php: call to portfolio_instance_sanity_check()
|
line 185 of /mod/forum/discuss.php: call to portfolio_add_button->to_html()
|
|
Coding error detected, it must be fixed by a programmer: Could not load preference popup_provider_portfolio_notices_permitted. Make sure the component and name you supplied to message_send() are valid.
|
|
More information about this error
|
|
Debug info:
|
Error code: codingerror
|
Stack trace:
|
line 162 of /lib/messagelib.php: coding_exception thrown
|
line 1120 of /lib/portfoliolib.php: call to message_send()
|
line 872 of /lib/portfoliolib.php: call to portfolio_insane_notify_admins()
|
line 309 of /lib/portfoliolib.php: call to portfolio_instance_sanity_check()
|
line 185 of /mod/forum/discuss.php: call to portfolio_add_button->to_html()
|
Portfolios need to be enabled obviously.