Error facing while installing moodle on the VPS server

Error facing while installing moodle on the VPS server

by Soundarya Talawai -
Number of replies: 1

Hi all,

I am trying to install moodle 4.1 on my vps server. But I am getting the following error and I have tried many solutions as mentioned in previous discussions like deleting the cache, lock, temp, trashdir, sessions, localcache, muc folders from the moodledata directory. But nothing seems to resolve the error. Can someone please help?

I have also attached the screenshot of the error 



Error:

Coding error detected, it must be fixed by a programmer: Invalid property requested, or the property does not has a default value.

Stack trace:

  • line 909 of \lib\classes\user.php: coding_exception thrown
  • line 301 of \user\editlib.php: call to core_user::get_property_default()
  • line 77 of \user\edit_form.php: call to useredit_shared_definition()
  • line 214 of \lib\formslib.php: call to user_edit_form->definition()
  • line 176 of \user\edit.php: call to moodleform->__construct()
Output buffer: <div class="notifytiny debuggingmessage" data-rel="debugging">Capability "moodle/contentbank:access" was not found! This has to be fixed in code.<ul style="text-align: left" data-rel="backtrace"><li>line 453 of \lib\accesslib.php: call to debugging()</li><li>line 3077 of \lib\navigationlib.php: call to has_capability()</li><li>line 1455 of \lib\navigationlib.php: call to global_navigation->add_front_page_course_essentials()</li><li>line 3174 of \lib\navigationlib.php: call to global_navigation->initialise()</li><li>line 136 of \user\edit.php: call to global_navigation->find()</li></ul></div><br /> <b>Notice</b>: Undefined property: stdClass::$navcourselimit in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\lib\navigationlib.php</b> on line <b>3188</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$maxbytes in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\user\edit.php</b> on line <b>156</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$maxbytes in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\user\edit.php</b> on line <b>166</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$fullnamedisplay in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\user\editlib.php</b> on line <b>430</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$fullnamedisplay in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\user\editlib.php</b> on line <b>467</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$fullnamedisplay in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\user\editlib.php</b> on line <b>467</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$fullnamedisplay in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\user\editlib.php</b> on line <b>467</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$fullnamedisplay in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\user\editlib.php</b> on line <b>467</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$fullnamedisplay in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\user\editlib.php</b> on line <b>473</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$defaultcity in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\lib\classes\user.php</b> on line <b>676</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$country in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\lib\classes\user.php</b> on line <b>677</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$calendartype in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\lib\classes\user.php</b> on line <b>682</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$defaultpreference_mailformat in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\lib\classes\user.php</b> on line <b>698</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$defaultpreference_maildigest in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\lib\classes\user.php</b> on line <b>700</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$defaultpreference_maildisplay in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\lib\classes\user.php</b> on line <b>702</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$defaultpreference_autosubscribe in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\lib\classes\user.php</b> on line <b>704</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$defaultpreference_trackforums in <b>C:\inetpub\vhosts\campusofvisualarts.com\httpdocs\moodle\lib\classes\user.php</b> on line <b>706</b><br />



Thanks & Regards,
Soundarya

Average of ratings: -
In reply to Soundarya Talawai

Re: Error facing while installing moodle on the VPS server

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

It looks like the installation didn't complete successfully. Maybe PHP's max_execution_time setting terminated the install before it had finished. You could try installing at the command line as that isn't affected by such timeouts. You need to drop (delete) and then create a new Moodle database before reattempting the install. See also this reply.

Average of ratings:Useful (1)