ModTracker error when adding comment - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17) +--- Forum: Modules/Extension Support (https://discussions.corebos.org/forumdisplay.php?fid=9) +--- Thread: ModTracker error when adding comment (/showthread.php?tid=1938) |
ModTracker error when adding comment - slechaix - 09-02-2020 Hi, does someone have this error and corrected it ? I use modtracker to track any change on modules like Tickets, it works well when modifying any field but it's not working as soon as I insert a comment. Code: Uncaught SyntaxError: JSON.parse: unexpected character at line 2 column 1 of the JSON data httpd error log: Code: PHP Fatal error: Call to a member function getFieldLabelKey() on string in /var/www/html/corebos/modules/ModTracker/core/ModTracker_Field.php on line 25, referer: http://cbprdtest.viti.pf/index.php?module=HelpDesk&parenttab=ptab&action=DetailView&record=223449 Thanks for your help RE: ModTracker error when adding comment - joebordes - 09-02-2020 Hi update your code, see if this change does the trick: https://github.com/tsolucio/corebos/commit/7d1a2e47753c6f31aad3009cb2819d181704dc6e RE: ModTracker error when adding comment - slechaix - 09-03-2020 Hi Joe, Thanks a lot, it works like a charm now Steve |