Prezados,
Estou usando um Moodle com o provedor Hostiger e utilizei seu instador automático com a aplicação, contudo ao tentar acrescentar um novo usuário, ocorre o problema abaixo.
Gostaria muito de uma luz de como solucionar o problema.
Debug info: Unknown column 'calendartype' in 'field list'
INSERT INTO afiq_user (username,auth,suspended,firstname,lastname,email,maildisplay,mailformat,maildigest,autosubscribe,trackforums,city,country,timezone,lang,imagealt,firstnamephonetic,lastnamephonetic,middlename,alternatename,url,icq,skype,aim,yahoo,msn,idnumber,institution,department,phone1,phone2,address,timemodified,description,descriptionformat,mnethostid,confirmed,timecreated,password,calendartype) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
[array (
0 => 'teste',
1 => 'manual',
2 => '0',
3 => 'teste',
4 => 'teste',
5 => 'teste@gmail.com',
6 => '2',
7 => '1',
8 => '0',
9 => '1',
10 => '1',
11 => '',
12 => '',
13 => '99',
14 => 'pt_br',
15 => '',
16 => '',
17 => '',
18 => '',
19 => '',
20 => '',
21 => '',
22 => '',
23 => '',
24 => '',
25 => '',
26 => '',
27 => '',
28 => '',
29 => '',
30 => '',
31 => '',
32 => 1494250848,
33 => '',
34 => '1',
35 => '1',
36 => 1,
37 => 1494250848,
38 => '$2y$10$YKsi0w1keCBoV0D1grT7AeBddXgYQyGMrix02Zmuna.ZixQjTW6Fe',
39 => NULL,
)]
Error code: dmlwriteexception
INSERT INTO afiq_user (username,auth,suspended,firstname,lastname,email,maildisplay,mailformat,maildigest,autosubscribe,trackforums,city,country,timezone,lang,imagealt,firstnamephonetic,lastnamephonetic,middlename,alternatename,url,icq,skype,aim,yahoo,msn,idnumber,institution,department,phone1,phone2,address,timemodified,description,descriptionformat,mnethostid,confirmed,timecreated,password,calendartype) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
[array (
0 => 'teste',
1 => 'manual',
2 => '0',
3 => 'teste',
4 => 'teste',
5 => 'teste@gmail.com',
6 => '2',
7 => '1',
8 => '0',
9 => '1',
10 => '1',
11 => '',
12 => '',
13 => '99',
14 => 'pt_br',
15 => '',
16 => '',
17 => '',
18 => '',
19 => '',
20 => '',
21 => '',
22 => '',
23 => '',
24 => '',
25 => '',
26 => '',
27 => '',
28 => '',
29 => '',
30 => '',
31 => '',
32 => 1494250848,
33 => '',
34 => '1',
35 => '1',
36 => 1,
37 => 1494250848,
38 => '$2y$10$YKsi0w1keCBoV0D1grT7AeBddXgYQyGMrix02Zmuna.ZixQjTW6Fe',
39 => NULL,
)]
Error code: dmlwriteexception
Stack trace:
- line 446 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 1080 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1122 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
- line 78 of /user/lib.php: call to mysqli_native_moodle_database->insert_record()
- line 185 of /user/editadvanced.php: call to user_create_user()
Output buffer: <br /> <b>Notice</b>: Undefined property: stdClass::$calendartype in <b>/home/u204013961/public_html/user/lib.php</b> on line <b>71</b><br />