![]() |
PostgreSQL Model Select Function Issue. Error type is not supported - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: PostgreSQL Model Select Function Issue. Error type is not supported (/showthread.php?tid=86070) |
PostgreSQL Model Select Function Issue. Error type is not supported - schaalqudsi - 01-05-2023 Dear fellow codeigniter development I am a new user of ci4. And I'm sorry if my question sounds stupid. I am trying to make a query select statement. And I found that there is an error Failed to parse json string, error: "Type is not supported". I don't know what this error is. And I also don't know how to debug this error. This is the error and my controller plus with my vue.js function which is call the controller Code: <br /> This is my controller PHP Code: public function search(){ my vue.js function which is call the controller Code: get_id(){ I really need help with this issue because I don't know how to fix it. I really appreciate for your time and energy. Thank you. RE: PostgreSQL Model Select Function Issue. Error type is not supported - kenjis - 01-07-2023 Your code has SQL injection vulnerability. Do not use in a real site. It seems you misunderstand how to use Query Results: See https://codeigniter4.github.io/CodeIgniter4/database/results.html |