Forums | Mahara Community

Support /
unrecoverable error after update to 18.4


Stefan Meier's profile picture
Posts: 9

24 April 2018, 20:43

I just did the update from 17.4 to 18.4.

A teacher now has issues accessing some pages from students:

Accessing the profile page of a student returns

"A nonrecoverable error occurred. This probably means you have encountered a bug in the system "

But accessing the same students Portfolio works.

 

I checked this on different users accessing different profiles and it feels random. Some users encounter the error on some pages, but other users do not encounter the error on the same page.

Does anyone have similar issues?

Is there a way to narrow down the problem? May be a Logfile I don't know about?

Kristina Hoeppner's profile picture
Posts: 4866

25 April 2018, 16:34

Hi Stefan,

You are seeing the generic error message. Please check your error log for more information.

Cheers

Kristina

 

Stefan Meier's profile picture
Posts: 9

25 April 2018, 22:24

Hi Kristina
This is the error_log when i access a profile which gives me an error.
I never had any issues like that before.
I secretly hope that it is a bug, and I'm not responsible =)

[Wed Apr 25 08:10:56.334730 2018] [fcgid:warn] [pid 14987] [client 62.167.55.198:34646] mod_fcgid: stderr: [WAR] 81 (auth/user.php:846) Invalid argument pass to is_admin_for_user method
[Wed Apr 25 08:10:56.334776 2018] [fcgid:warn] [pid 14987] [client 62.167.55.198:34646] mod_fcgid: stderr: Call stack (most recent first):
[Wed Apr 25 08:10:56.334782 2018] [fcgid:warn] [pid 14987] [client 62.167.55.198:34646] mod_fcgid: stderr:   * User->is_admin_for_user(string(size 19)) at /home/httpd/vhosts/myreplaceddomain.ch/httpdocs/portfolio/blocktype/wall/lib.php:324
[Wed Apr 25 08:10:56.334787 2018] [fcgid:warn] [pid 14987] [client 62.167.55.198:34646] mod_fcgid: stderr:   * PluginBlocktypeWall::can_delete_wallpost(string(size 3), string(size 19)) at /home/httpd/vhosts/myreplaceddomain.ch/httpdocs/portfolio/blocktype/wall/lib.php:295
[Wed Apr 25 08:10:56.334804 2018] [fcgid:warn] [pid 14987] [client 62.167.55.198:34646] mod_fcgid: stderr:   * PluginBlocktypeWall::{closure}(object(stdClass)) at Unknown:0
[Wed Apr 25 08:10:56.334809 2018] [fcgid:warn] [pid 14987] [client 62.167.55.198:34646] mod_fcgid: stderr:   * array_map(object(Closure), array(size 1)) at /home/httpd/vhosts/myreplaceddomain.ch/httpdocs/portfolio/blocktype/wall/lib.php:297
[Wed Apr 25 08:10:56.334814 2018] [fcgid:warn] [pid 14987] [client 62.167.55.198:34646] mod_fcgid: stderr:   * PluginBlocktypeWall::fetch_posts(object(BlockInstance)) at /home/httpd/vhosts/myreplaceddomain.ch/httpdocs/portfolio/blocktype/wall/lib.php:58
[Wed Apr 25 08:10:56.334819 2018] [fcgid:warn] [pid 14987] [client 62.167.55.198:34646] mod_fcgid: stderr:   * PluginBlocktypeWall::render_instance(object(BlockInstance)) at Unknown:0
[Wed Apr 25 08:10:56.334823 2018] [fcgid:warn] [pid 14987] [client 62.167.55.198:34646] mod_fcgid: stderr:   * call_user_func_array(array(size 2), array(size 1)) at /home/httpd/vhosts/myreplaceddomain.ch/httpdocs/portfolio/lib/mahara.php:1809
[Wed Apr 25 08:10:56.334827 2018] [fcgid:warn] [pid 14987] [client 62.167.55.198:34646] mod_fcgid: stderr:   * call_static_method(string(size 19), string(size 15), object(BlockInstance)) at /home/httpd/vhosts/myreplaceddomain.ch/httpdocs/portfolio/blocktype/lib.php:1041
[Wed Apr 25 08:10:56.334832 2018] [fcgid:warn] [pid 14987] [client 62.167.55.198:34646] mod_fcgid: stderr:   * BlockInstance->render_viewing(false) at /home/httpd/vhosts/myreplaceddomain.ch/httpdocs/portfolio/lib/view.php:2133
[Wed Apr 25 08:10:56.334837 2018] [fcgid:warn] [pid 14987] [client 62.167.55.198:34646] mod_fcgid: stderr:   * View->build_column(integer, integer, false, false) at /home/httpd/vhosts/myreplaceddomain.ch/httpdocs/portfolio/lib/view.php:2087
[Wed Apr 25 08:10:56.334841 2018] [fcgid:warn] [pid 14987] [client 62.167.55.198:34646] mod_fcgid: stderr:   * View->build_columns(integer, false, false) at /home/httpd/vhosts/myreplaceddomain.ch/httpdocs/portfolio/lib/view.php:2072
[Wed Apr 25 08:10:56.334845 2018] [fcgid:warn] [pid 14987] [client 62.167.55.198:34646] mod_fcgid: stderr:   * View->build_rows() at /home/httpd/vhosts/myreplaceddomain.ch/httpdocs/portfolio/user/view.php:93

greetings

Stefan

Cecilia Vela's profile picture
Posts: 110

27 April 2018, 11:46

Hi Stefan,

I could reproduce the error and reported here. This bug report also includes a link to a patch for it.

If you try it, please let us know how it goes and if you had any issues with it.

Cheers,

Cecilia

 

Edits to this post:

Stefan Meier's profile picture
Posts: 9

13 May 2018, 5:49

Hi Cecilia

Thanks a lot to everyone for this quick fix. I replaced the altered lines and it seems to work again.

 

Greetings

Stefan

5 results