Talk:Adding courses and categories to the custom menu: Difference between revisions
From MoodleDocs
(→Error) |
David Mudrak (talk | contribs) m (Text replacement - "<code php>" to "<syntaxhighlight lang="php">") |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
I copied the code from this tutorial as is to my test server and I get the following error: | I copied the code from this tutorial as is to my test server and I get the following error: | ||
< | <syntaxhighlight lang="php"> | ||
Invalid get_string() identifier: 'pluginname' or component 'theme_coursecategorymenu' | Invalid get_string() identifier: 'pluginname' or component 'theme_coursecategorymenu' | ||
•line 5884 of \lib\moodlelib.php: call to debugging() | •line 5884 of \lib\moodlelib.php: call to debugging() | ||
•line 6474 of \lib\moodlelib.php: call to core_string_manager->get_string() | •line 6474 of \lib\moodlelib.php: call to core_string_manager->get_string() | ||
•line 103 of \theme\index.php: call to get_string() | •line 103 of \theme\index.php: call to get_string() | ||
</ | </syntaxhighlight> | ||
What is wrong? | What is wrong? | ||
--[[User:Luis de Vasconcelos|Luis de Vasconcelos]] 14:44, 10 May 2011 (WST) | --[[User:Luis de Vasconcelos|Luis de Vasconcelos]] 14:44, 10 May 2011 (WST) |
Latest revision as of 20:36, 14 July 2021
Error
I copied the code from this tutorial as is to my test server and I get the following error:
Invalid get_string() identifier: 'pluginname' or component 'theme_coursecategorymenu'
•line 5884 of \lib\moodlelib.php: call to debugging()
•line 6474 of \lib\moodlelib.php: call to core_string_manager->get_string()
•line 103 of \theme\index.php: call to get_string()
What is wrong?
--Luis de Vasconcelos 14:44, 10 May 2011 (WST)