relaxboysetroc Posted September 1, 2022 Share Posted September 1, 2022 Hi, good day! Did you encounter this kind of error: Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /home/u190307099/domains/depedmasbate.com/public_html/esrms/classes/SystemSettings.php:17 Stack trace: #0 /home/u190307099/domains/depedmasbate.com/public_html/esrms/classes/SystemSettings.php(193): SystemSettings->load_system_info() #1 /home/u190307099/domains/depedmasbate.com/public_html/esrms/config.php(9): require_once('/home/u19030709...') #2 /home/u190307099/domains/depedmasbate.com/public_html/esrms/index.php(1): require_once('/home/u19030709...') #3 {main} thrown in /home/u190307099/domains/depedmasbate.com/public_html/esrms/classes/SystemSettings.php on line 17 Please help me how to solve. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/315260-need-help-po/ Share on other sites More sharing options...
Barand Posted September 1, 2022 Share Posted September 1, 2022 41 minutes ago, relaxboysetroc said: Did you encounter this kind of error Yes. The usual reason is that your query failed. Implement error checking. The easiest way is to add this line mysqli_report(MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT); just before your call mysql_connect() and make sure you have PHP's error reporting and display errors or log errors turned on Quote Link to comment https://forums.phpfreaks.com/topic/315260-need-help-po/#findComment-1599960 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.