Hello,
When I make a proposal from intervention cause the following error:
Dolibarr has detected a technical error.
This information can be useful for diagnostic purposes (you can set option $dolibarr_main_prod to ‘1’ to remove such notices):
Date: 20180927223512
Dolibarr: 8.0.2
Level of features: 0
PHP: 7.0.32-0ubuntu0.16.04.1
Server: Apache/2.4.18 (Ubuntu)
OS: Linux correu.solatec.cat 4.15.0-34-generic #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018 x86_64
UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0
Requested URL: /comm/propal/card.php
Referer: https://192.168.1.1/comm/propal/card.php?action=create&origin=fichinter&originid=168&socid=4
Menu manager: eldy_menu.php
Database type manager: mysqli
Latest database access request error: INSERT INTO llx_element_element (fk_source, sourcetype, fk_target, targettype) VALUES (168, ‘fichinter’, 231, ‘propal’)
Return code for latest database access request error: DB_ERROR_RECORD_ALREADY_EXISTS
Information for latest database access request error: Duplicate entry ‘168-fichinter-231-propal’ for key ‘idx_element_element_idx1’
Dolibarr has detected a technical error.
This information can be useful for diagnostic purposes (you can set option $dolibarr_main_prod to ‘1’ to remove such notices):
Date: 20180927223512
Dolibarr: 8.0.2
Level of features: 0
PHP: 7.0.32-0ubuntu0.16.04.1
Server: Apache/2.4.18 (Ubuntu)
OS: Linux correu.solatec.cat 4.15.0-34-generic #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018 x86_64
UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0
Requested URL: /comm/propal/card.php
Referer: https://192.168.1.1
A/comm/propal/card.php?action=create&origin=fichinter&originid=168&socid=4
Menu manager: eldy_menu.php
Database type manager: mysqli
Latest database access request error: INSERT INTO llx_element_element (fk_source, sourcetype, fk_target, targettype) VALUES (168, ‘fichinter’, 231, ‘propal’)
Return code for latest database access request error: DB_ERROR_RECORD_ALREADY_EXISTS
Information for latest database access request error: Duplicate entry ‘168-fichinter-231-propal’ for key ‘idx_element_element_idx1’
Warning: Cannot modify header information - headers already sent by (output started at /var/www/clients/client1/web51/web/htdocs/core/lib/functions.lib.php:3923) in /var/www/clients/client1/web51/web/htdocs/comm/propal/card.php on line 590
This function works fine in 7.0.0.
The error is produced when button “Create Draft” is pressed.
Any suggestions?
Tanks!!!