PBX Manager module error - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17) +--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8) +--- Thread: PBX Manager module error (/showthread.php?tid=1917) |
PBX Manager module error - phongkni - 08-19-2020 When I enter the PBX Manager module and then select a filter I get the error message. [attachment=1064] Then I opened the PBX Manager module again and got the following error Fatal error: Call to a member function sql_escape_string() on null in C:\xampp\htdocs\data\CRMEntity.php on line 3507 How to fix this problem. Thanks RE: PBX Manager module error - joebordes - 08-19-2020 update your code and try again let me know how it goes thanks for informing! RE: PBX Manager module error - phongkni - 08-19-2020 (08-19-2020, 11:34 AM)joebordes Wrote: update your code and try again After updating, the filter selection problem has been fixed and there is no longer an error displaying when re-opening the PBX Manager module. But when deleting a record, it still returns undefined. RE: PBX Manager module error - joebordes - 08-19-2020 I don't have any recods in that module, can you catch the error that is happening on delete? RE: PBX Manager module error - joebordes - 08-19-2020 please update and try again RE: PBX Manager module error - phongkni - 08-20-2020 (08-19-2020, 02:22 PM)joebordes Wrote: please update and try again The problem is still not fixed. [attachment=1065] If the delete command is pressed at the position shown above, the following error is displayed Fatal error: Call to a member function pquery() on null in C:\xampp\htdocs\data\CRMEntity.php on line 1746 Click delete in place as second image, undefined error will show up [attachment=1066] Can you guide me on how to catch this error? Thanks PS: I checked the PBXManager.php file code, when I keep the following 2 lines of code, it worked public $db; $this->db = PearDatabase::getInstance(); Please check this file code! Thanks RE: PBX Manager module error - joebordes - 08-20-2020 I added that code back in while we wait to cleanup CRMEntity, I will eliminate it again when we finish. Thanks! RE: PBX Manager module error - phongkni - 08-21-2020 (08-20-2020, 11:01 AM)joebordes Wrote: I added that code back in while we wait to cleanup CRMEntity, I will eliminate it again when we finish. Great! Thanks you |