The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in DB.php line 51
#1
First, I'd like to say I appreciate the time and effort put into this project, it's a huge help for coders like me.

I'm integrating UserSpice into a pre-existing website built is pure PHP, and we're already using PDO to handle all MYSQL calls. I've installed UserSpice but all the pages are loading blank. In my apache error logs, this is the message:

PHP Catchable fatal error: Object of class stdClass could not be converted to string in users/classes/DB.php on line 51

I've been trying like crazy to figure this our, but to no avail.
  Reply


Messages In This Thread
Error in DB.php line 51 - by mckennahampton - 09-22-2017, 11:15 AM
Error in DB.php line 51 - by mudmin - 09-22-2017, 11:31 AM
Error in DB.php line 51 - by mckennahampton - 09-22-2017, 12:05 PM
Error in DB.php line 51 - by mckennahampton - 09-22-2017, 12:07 PM
Error in DB.php line 51 - by mckennahampton - 09-22-2017, 12:32 PM
Error in DB.php line 51 - by dan - 09-22-2017, 01:05 PM
Error in DB.php line 51 - by mckennahampton - 09-22-2017, 01:06 PM
Error in DB.php line 51 - by mckennahampton - 09-22-2017, 01:48 PM
Error in DB.php line 51 - by dan - 09-22-2017, 01:51 PM
Error in DB.php line 51 - by mckennahampton - 09-22-2017, 03:19 PM
Error in DB.php line 51 - by mudmin - 09-23-2017, 12:51 PM
Error in DB.php line 51 - by mudmin - 09-23-2017, 04:39 PM
Error in DB.php line 51 - by mudmin - 09-23-2017, 06:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)