Moodle 3.5 - Exception : Unsupported operand types

Moodle 3.5 - Exception : Unsupported operand types

by Ludo M -
Number of replies: 1

When i Go on Moodle index page I have this error :

Exception : Unsupported operand types

Debug info:
Error code: generalexceptionmessage
Stack trace:

line 410 of \lib\classes\output\icon_system_fontawesome.php: Error thrown
line 135 of \lib\classes\output\icon_system.php: call to core\output\icon_system_fontawesome->get_icon_name_map()
line 571 of \lib\outputcomponents.php: call to core\output\icon_system->remap_icon_name()
line 428 of \lib\classes\output\icon_system_fontawesome.php: call to pix_icon_font->__construct()
line 2210 of \lib\outputrenderers.php: call to core\output\icon_system_fontawesome->render_pix_icon()
line 226 of \lib\outputrenderers.php: call to core_renderer->render_pix_icon()
line 2199 of \lib\outputrenderers.php: call to renderer_base->render()
line 1881 of \lib\setuplib.php: call to core_renderer->pix_icon()
line 66 of \mod\glossary\settings.php: call to bootstrap_renderer->__call()
line 89 of \lib\classes\plugininfo\mod.php: call to include()
line 47 of \admin\settings\plugins.php: call to core\plugininfo\mod->load_settings()
line 7999 of \lib\adminlib.php: call to require()
line 802 of \admin\index.php: call to admin_get_root()
It was working fine, and when I have refreshed a page after modifying a lang file in a plugin I'am developping I had this error.

I set my lang file in the state it was before,cleared the cache but it didn't solved the problem.

Have you got any ideas about where it comes from please?

Average of ratings: -
In reply to Ludo M

Re: Moodle 3.5 - Exception : Unsupported operand types

by Ludo M -

I have deleted the plugin folder, then refreshed the page and then put the plugin folder back again and it works now.

Average of ratings: Useful (1)