![]() |
Call to a member function getResult() on bool error in Code igniter 4 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19) +--- Thread: Call to a member function getResult() on bool error in Code igniter 4 (/showthread.php?tid=84902) |
Call to a member function getResult() on bool error in Code igniter 4 - igniterrr - 11-21-2022 I'm following the tutorial on the official Code Igniter 4 website, and I'm running into the error "Call to a member function getResult() on bool". It seems to be springing up from my use of the findAll() method. Here is my mode, NewsModel.php: PHP Code: <?php PHP Code: <?php RE: Call to a member function getResult() on bool error in Code igniter 4 - kenjis - 11-28-2022 You can see the Error Page if you set development mode. See - https://codeigniter4.github.io/CodeIgniter4/tutorial/index.html#error-pages - https://codeigniter4.github.io/CodeIgniter4/tutorial/index.html#setting-development-mode |