Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/315260-need-help-po/
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/315260-need-help-po/#findComment-1599960
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.