Forums | Mahara Community

Support /
Repetitive error message (call stack) in php-fpm log


Sven Laudel's profile picture
Posts: 10

26 October 2024, 1:56

Hi,

we are on Mahara 24.04.x and PHP 8.1.

In our php-fpm log we are getting the same error message again and again (multiple times per hour):

Okt 25 14:29:24 mahara.backend.server php[2686244]: [WAR] 94 (lib/dwoo/dwoo/Dwoo/Loader.php:187) unserialize(): Error at offset 0 of 1582 bytes
Okt 25 14:29:24 mahara.backend.server php[2686244]: Call stack (most recent first):
Okt 25 14:29:24 mahara.backend.server php[2686244]: * log_message(string(size 46), integer, true, true, string(size 43), integer) at /opt/web/html/lib/errors.php:522
Okt 25 14:29:24 mahara.backend.server php[2686244]: * error(integer, string(size 46), string(size 43), integer) at Unknown:0
Okt 25 14:29:24 mahara.backend.server php[2686244]: * unserialize(string(size 1582)) at /opt/web/html/lib/dwoo/dwoo/Dwoo/Loader.php:187
Okt 25 14:29:24 mahara.backend.server php[2686244]: * Dwoo\Loader->addDirectory(string(size 38)) at /opt/web/html/lib/dwoo/mahara/Dwoo_Mahara.php:72
Okt 25 14:29:24 mahara.backend.server php[2686244]: * Mahara\Dwoo_Mahara->__construct() at /opt/web/html/lib/web.php:28
Okt 25 14:29:24 mahara.backend.server php[2686244]: * smarty_core() at /opt/web/html/lib/web.php:220
Okt 25 14:29:24 mahara.backend.server php[2686244]: * smarty() at /opt/web/html/index.php:128
Okt 25 14:29:24 mahara.backend.server php[2686244]:

 

Do I have to worry about something? How can I get rid of this error message?
I can't remember if the error was there before the upgrade to 24.04.

Regards
Sven

Doris ⚡'s profile picture
Posts: 99

29 October 2024, 11:02

Hi Sven,

I have a few questions to help diagnose where the program may be coming from:

What minor point version of Mahara is this?

Did you upgrade to this version recently, and if so from which version?

OR have you been on this version for a while and only recently did the errors come about?

Is your site in a language different from English - if so, what language?

Kind regards,

Doris

Doris ⚡'s profile picture
Posts: 99

29 October 2024, 12:06

Hi Sven,

Apologies, I meant 'problem', not 'program'.

A further question is: do you have any customisations made to any .tpl files?

Thanks,

Doris

Sven Laudel's profile picture
Posts: 10

29 October 2024, 20:36

Hi Doris,

it is (still) 24.04.4, I've seen there is .7 out now, we will update soon.

We upgraded end of August coming from 22.04.x. The site is in German language and we don't have any changes to .tpl files.

Regards
Sven

Doris ⚡'s profile picture
Posts: 99

30 October 2024, 16:51

Hi Sven,

Have these errors started appearing recently or as soon as you updated in August?

When I looked at the line that the error points to, it looked like it could be related to caching. I have included a screenshot of the line I'm referring. You may be able to debug further to find out which file is causing this issue.

I recommend that you update to the 24.04.7 version to ensure that your issue hasn't already been resolved before investigating any further.

A list of related fixes can be found here:

Kind regards,

Doris

Sven Laudel's profile picture
Posts: 10

15 November 2024, 5:58

Hi Doris,

I updated our system to the latest 24.04.7 but the errors/warnings keep coming in to my php log.
How does Mahara handle caching? I know Moodle uses different types of caches but I don't know much about Mahara.

I also can't tell, if the errors were there before upgrading to Mahara 24.04. because the logs are long gone.

Regards
Sven

6 results