error with show course anonymous

error with show course anonymous

by stephane ngov -
Number of replies: 0

Hi all,

 

I have the problème for show a course,

in this cours have a test quiz,

when i go with my admin user in this url

 

mod/page/view.php?id=7066

 

is OK, I have front me a question test,

 

but this test must be anonymous ,

when i deconnecte count user,

alway with url

 

mod/page/view.php?id=7066

 

i have this error

Requested user profile field does not exist

 

Why , what's the problème ?

this is information debug

Debug info:
Error code: codingerror
Stack trace:
  • line 1300 of /lib/conditionlib.php: coding_exception thrown
  • line 1009 of /lib/conditionlib.php: call to condition_info_base->get_cached_user_profile_field()
  • line 280 of /lib/conditionlib.php: call to condition_info_base->is_available()
  • line 1692 of /lib/modinfolib.php: call to condition_info_section->is_available()
  • line 337 of /lib/modinfolib.php: call to section_info->__construct()
  • line 1341 of /lib/modinfolib.php: call to course_modinfo->__construct()
  • line 2792 of /lib/moodlelib.php: call to get_fast_modinfo()
  • line 3209 of /lib/moodlelib.php: call to require_login()
  • line 50 of /mod/page/view.php: call to require_course_login()

thank's for help me for this error and find the problème ?

 

Average of ratings: -