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

Exception opening attached files #152

Closed
Marx1st opened this issue Jun 16, 2023 · 2 comments
Closed

Exception opening attached files #152

Marx1st opened this issue Jun 16, 2023 · 2 comments

Comments

@Marx1st
Copy link

Marx1st commented Jun 16, 2023

Hi!

We've recently upgraded Moodleoverflow to v4.2-r1 2023052200 on our Moodle 3.11.14+ site.

After that files attached to posts can not be opended anymore (neither existing or newly added files).

The error:

`Exception - Call to a member function is_external_file() on bool

More information about this error
Debug info:
Error code: generalexceptionmessage
Stack trace:

line 2719 of /lib/filelib.php: Error thrown
line 465 of /mod/moodleoverflow/lib.php: call to send_stored_file()
line 5156 of /lib/filelib.php: call to moodleoverflow_pluginfile()
line 44 of /pluginfile.php: call to file_pluginfile()`

The problem did not exist with Moodleoverflow v4.1-r1 2022120600.

@NinaHerrmann
Copy link
Contributor

Already mentioned in #144 and work in progress in #146

@NinaHerrmann
Copy link
Contributor

There is a release fixing the issue (4.2-r2) :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants