Forums | Mahara Community

Support /
User menu not accessible


Ralph Ballier's profile picture
Posts: 121

18 September 2018, 6:19

 

Hello,

when I try to get into my own user menu, then there is an error message and Apache's error.log says  (see below).

Some time ago something was similar (pin board was unreadable). At that time, it was probably because I was admin of the institution.

Ralph

AH01071: Got error 'PHP message: [WAR] 6c (auth/user.php:846) Invalid argument pass to is_admin_for_user method\nPHP message: Call stack (most recent first):\nPHP message: * User->is_admin_for_user(string(size 19)) at /var/www/vhosts/mahara.osz-lise-meitner.eu/httpdocs/blocktype/wall/lib.php:324\nPHP message: * PluginBlocktypeWall::can_delete_wallpost(string(size 1), string(size 19)) at /var/www/vhosts/mahara.osz-lise-meitner.eu/httpdocs/blocktype/wall/lib.php:295\nPHP message: * PluginBlocktypeWall::{closure}(object(stdClass)) at Unknown:0\nPHP message: * array_map(object(Closure), array(size 1)) at /var/www/vhosts/mahara.osz-lise-meitner.eu/httpdocs/blocktype/wall/lib.php:297\nPHP message: * PluginBlocktypeWall::fetch_posts(object(BlockInstance)) at /var/www/vhosts/mahara.osz-lise-meitner.eu/httpdocs/blocktype/wall/lib.php:58\nPHP message: * PluginBlocktypeWall::render_instance(object(BlockInstance)) at /var/www/vhosts/mahara.osz-lise-meitner.eu/httpdocs/lib/mahara.php:1809\nPHP message: * call_static_method(string(size 19), string(size 15), object(BlockInstance)) at /var/www/vhosts/mahara.osz-lise-meitner.eu/httpdocs/blocktype/lib.php:1041\nPHP message: * BlockInstance->render_viewing(false) at /var/www/vhosts/mahara.osz-lise-meitner.eu/httpdocs/lib/view.php:2133\nPHP message: * View->build_column(integer, integer, false, false) at /var/www/vhosts/mahara.osz-lise-meitner.eu/httpdocs/lib/view.php:2087\nPHP message: * View->build_columns(integer, false, false) at /var/www/vhosts/mahara.osz-lise-meitner.eu/httpdocs/lib/view.php:2072\nPHP message: * View->build_rows() at /var/www/vhosts/mahara.osz-lise-meitner.eu/httpdocs/user/view.php:93\nPHP message: \n', referer: https://mahara.osz-lise-meitner.eu/

Robert Lyon's profile picture
Posts: 774

18 September 2018, 8:43

Hello Ralph,

Thank you for this report. This is a bug that was recently fixed - see https://bugs.launchpad.net/mahara/+bug/1767220

Upgrading to latest stable version on Mahara should fix this problem.

If you wish to wait on upgrade then patching your site should be easy enough as the change is just this https://reviews.mahara.org/#/c/8814/1/htdocs/blocktype/wall/lib.php

Cheers

Robert

Ralph Ballier's profile picture
Posts: 121

19 September 2018, 23:54

Hello Robert,

than you very much.

I will wait for 18.04.3 until I make an upgrade.

Ralph

3 results