Forums | Mahara Community

Open Discussion /
Dwoo Loader: Unsupported Operand Types - PHP Fatal Error


Syed Anwar's profile picture
Posts: 21

24 February 2021, 16:09

Hi everyone,

 

Mahara installed on our server is often down and we have to remove dwoo files in dataroot. The system will be OK again. Can anyone help me with the error below that is from the error log?

 

Information on the Mahara version and PHP version installed on the server is as follows:

Mahara Version: 18.10.0

PHP version on the server: 7.0.33

 

Error Log information

[Wed Feb 24 07:59:59.298519 2021] [:error] [pid 14996:tid 139908124755712] [client x.x.x.x:23328] [WAR] 1b (lib/errors.php:535) [Error]: Unsupported operand types
[Wed Feb 24 07:59:59.298566 2021] [:error] [pid 14996:tid 139908124755712] [client x.x.x.x:23328] Call stack (most recent first):
[Wed Feb 24 07:59:59.298571 2021] [:error] [pid 14996:tid 139908124755712] [client x.x.x.x:23328]   * exception(object(Error)) at Unknown:0
[Wed Feb 24 07:59:59.298576 2021] [:error] [pid 14996:tid 139908124755712] [client x.x.x.x:23328]
[Wed Feb 24 07:59:59.300910 2021] [:error] [pid 14996:tid 139908124755712] [client x.x.x.x:23328] PHP Fatal error:  Uncaught Error: Unsupported operand types in /var/www/html/mahara/lib/dwoo/dwoo/Dwoo/Loader.php:185\nStack trace:\n#0 /var/www/html/mahara/lib/dwoo/mahara/Dwoo_Mahara.php(65): Dwoo\\Loader->addDirectory('/var/www/html/m...')\n#1 /var/www/html/mahara/lib/web.php(20): Mahara\\Dwoo_Mahara->__construct()\n#2 /var/www/html/mahara/lib/web.php(178): smarty_core()\n#3 /var/www/html/mahara/lib/errors.php(681): smarty(Array, Array, Array, Array)\n#4 /var/www/html/mahara/lib/errors.php(546): MaharaException->handle_exception()\n#5 [internal function]: exception(Object(SystemException))\n#6 {main}\n  thrown in /var/www/html/mahara/lib/dwoo/dwoo/Dwoo/Loader.php on line 185

 

Thanks for the help from the Mahara community.

 

Regards

Robert Lyon's profile picture
Posts: 609

25 February 2021, 9:12

Hi Syed Anwar

This error sounds like the one reported here https://bugs.launchpad.net/mahara/+bug/1816840

And has been fixed got 18.10.1 via this patch https://reviews.mahara.org/#/c/9609

Also version 18.10 is out of support so you might want to think of upgrading to a 19.10 or greater version

Cheers

Robert

 

2 results