Debug Mode - Testing user.php step by step

Step 1: Starting session...

✓ Session started

Step 2: Connecting to database...

✓ Database connected

Step 3: Defining basic functions...

✓ Basic functions defined

Step 4: Defining formatTimeAgo function...

✓ formatTimeAgo function defined

Step 5: Defining article functions...

✓ Article functions defined

Step 6: Testing article retrieval...

Found test user: ID 1, Username: admin


Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''50'' at line 1 in /home/ojadzzcb/profile.e-advisormatcher.com/debug_user.php:96 Stack trace: #0 /home/ojadzzcb/profile.e-advisormatcher.com/debug_user.php(96): PDOStatement->execute() #1 /home/ojadzzcb/profile.e-advisormatcher.com/debug_user.php(210): getUserArticles() #2 {main} thrown in /home/ojadzzcb/profile.e-advisormatcher.com/debug_user.php on line 96