Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class "core\external\output\icon_system" not found #35

Open
promedacademy opened this issue Nov 19, 2024 · 3 comments
Open

Class "core\external\output\icon_system" not found #35

promedacademy opened this issue Nov 19, 2024 · 3 comments
Assignees
Labels
4.5 Bug Something isn't working

Comments

@promedacademy
Copy link

Describe the bug
error message after upgrade the plugin on moodle 4.5
generalexceptionmessage
Exception - Class "core\external\output\icon_system" not found

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'home page'
  2. popup modal with error message "generalexceptionmessage
    Exception - Class "core\external\output\icon_system" not found"

Expected behavior
no message.

Versions (please complete the following information):

  • Moodle: [ 4.5]
  • Theme: [405.1.0 (2024100501)]
  • Browser and version [e.g. safari on Mac Pro m1]
@promedacademy promedacademy added Bug Something isn't working Pending replication Pending the issue being replicated to demonstrate that it is indeed an issue. labels Nov 19, 2024
@gjb2048 gjb2048 changed the title error message after upgrading the plugin Class "core\external\output\icon_system" not found Nov 19, 2024
@gjb2048 gjb2048 removed the Pending replication Pending the issue being replicated to demonstrate that it is indeed an issue. label Nov 19, 2024
@gjb2048
Copy link
Collaborator

gjb2048 commented Nov 19, 2024

@promedacademy Thanks for the report. Difficult to replicate and spot as is an external call for a FontAwesome icon. Fix is to change:

use core\external\output\icon_system;

to:

use core\output\icon_system;

at the top of classes\output\external.php

@gjb2048 gjb2048 added the 4.5 label Nov 19, 2024
@promedacademy
Copy link
Author

done and worked

@gjb2048
Copy link
Collaborator

gjb2048 commented Nov 21, 2024

@promedacademy Thank you for letting me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.5 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants