Using Moodle 3.7.3 (Build: 20191111)
I'm having Error when I want to customize the language pack "English" or "Arabic"
but no problem with the "Turkish" or "Español_internacional" pack customization
I get this error about wrtting in the database:
Error writing to database
More information about this error
Debug info: Duplicate entry 'en-472-reusecontent' for key 'mdlnj_toolcust_lancomstr_uix'
INSERT INTO mdlnj_tool_customlang (lang,componentid,stringid,original,master,timemodified,outdated,local,timecustomized) VALUES(?,?,?,?,?,?,?,?,?)
[array (
0 => 'en',
1 => '472',
2 => 'reusecontent',
3 => 'Reuse Content',
4 => 'Reuse Content',
5 => 1573841058,
6 => 0,
7 => NULL,
8 => NULL,
)]
Error code: dmlwriteexception
×Stack trace:
- line 489 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 1331 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1377 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
- line 191 of /admin/tool/customlang/locallib.php: call to mysqli_native_moodle_database->insert_record()
- line 60 of /admin/tool/customlang/index.php: call to tool_customlang_utils::checkout()