Closed lambdadade closed 3 days ago
Hi @lambdadade ,
thank you for reporting this issue. I am sorry to hear that Boost Union seems to bring your Moodle down.
However, we have not experiences such an issue before and are thus struggling to reproduce and fix it.
To allow us to understand what's going on, can you please pick that /var/www/moodledata/localcache/mustache/1731972777/boost_union/__Mustache_f88dc471bd71c619dff5222848f518e8.php
file from disk and post it here so that we can see which Mustach file is causing this memory leak.
As soon as I see the file, I might come up with more questions.
Cheers, Alex
Hi @abias sorry - I guess it's not the fault of your theme.
In the morning I removed the stream theme too which I have tried before. And the error disapears. Inststalled it again and debugging shows lib/mustache/src/Mustache/Context.php as the issue. Removing the stream theme solves the issue.
Installing it again and switching to boost_union there after triggers it again. So I guess I should report that issue there. Stream is an boost child theme too. Maybe it is unwise to install several child themes in the background?
just renamed the topic to make it more clear.
The original error was
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 69632 bytes) in /lib/mustache/src/Mustache/Context.php on line 211
Hi @lambdadade ,
thank you for this clarification. Normally, it should not be a problem to install multiple Boost child themes in the same Moodle instance. However, the stream theme states in its README that it is inspired by Boost Union and other Boost child themes. I did not investigate it, but maybe there is some code duplication / collision between both themes when installed in the same Moodle instance which triggers this exception.
But given the fact that you stated that this exception does not appear when you just install Boost Union, I would close the issue for now.
Cheers, Alex
After installing boost_union_moodle45_2024100701.zip and activating the plugin the admin user no longer can access the website. Students and Guests can. Debugging shows Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 45056 bytes) in /var/www/moodledata/localcache/mustache/1731972777/boost_union/__Mustache_f88dc471bd71c619dff5222848f518e8.php on line 50
Increassing the memory limit (just for testing ) to 2048M does not solve the issue. Seems like a memory leak