Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

I'm getting SQL error, when attempting to post a new topic on Front-End.

RuntimeException:
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 'LIMIT 0,1' at line 3 (1064)

SQL:
SELECT Username
FROM 53x_Users
WHERE PortalUserId =
LIMIT 0,1  

Here is the stack trace:

It seems, that during some kind of refactoring we've left $user_id variable, but have never put any value in it.

Related Tasks

  • No labels