MyBB Community Forums

Full Version: inc/class_error.php (Line no. 341)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MyBB Engine send me 2 emails about errors:

Mess1

Type: 20
File:  (Line no. 0)
Message
SQL Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
                        ORDER BY p.dateline' at line 4
Query: 
                        SELECT u.*, u.username AS userusername, p.*
                        FROM mybb_posts p
                        LEFT JOIN mybb_users u ON (u.uid=p.uid)
                        WHERE p.pid IN ()
                        ORDER BY p.dateline

Mess2

Type: 2
File: inc/class_error.php (Line no. 341)
Message
Missing argument 3 for errorHandler::output_error(), called in /............../public_html/inc/class_error.php on line 337 and defined

What's wrong?
Have you tried replacing the file with a fresh one?
As Stephon said, try uploading a fresh copy of the file.
(2009-08-25, 02:14 AM)Joshua Mayer Wrote: [ -> ]As Stephon said, try uploading a fresh copy of the file.

Seems to be good, but: http://dev.mybboard.net/issues/382
In 1.4.8 bug isn't fixed (mails about errors).