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 'AND jjo_permission IN ('A') ORDER BY cr_date DESC LIMIT 0, 25' at line 1
SELECT tbl.jjo_id AS "id", tbl.jjo_title AS "title", tbl.jjo_bodytext AS "bodytext", tbl.jjo_mood AS "mood", tbl.jjo_status AS "status", tbl.jjo_owner_uid AS "owner_uid", tbl.jjo_image AS "image", tbl.jjo_image_position AS "image_position", tbl.jjo_image_size_x AS "image_size_x", tbl.jjo_image_size_y AS "image_size_y", tbl.jjo_lu_uid AS "lu_uid", tbl.jjo_lu_date AS "lu_date", tbl.jjo_cr_date AS "cr_date", tbl.jjo_permission AS "permission" , a.pn_uname AS username FROM nukri_v4b_journal_journal AS tbl LEFT JOIN nukri_users a ON a.pn_uid = tbl.jjo_owner_uid WHERE jjo_owner_uid= AND jjo_permission IN ('A') ORDER BY cr_date DESC LIMIT 0, 25
  1. (array) 0:
    1. (string) file = /www/vhosts/nukri.org/html/includes/v4blib/DBUtil.class.php
    2. (integer) line = 74
    3. (string) function = v4b_exit
    4. (array) args:
      1. (string) 0 = Exiting after SQL-error
  2. (array) 1:
    1. (string) file = /www/vhosts/nukri.org/html/includes/v4blib/DBUtil.class.php
    2. (integer) line = 1099
    3. (string) function = executeSQL
    4. (string) class = DBUtil
    5. (string) type = ->
    6. (array) args:
      1. (string) 0 = SELECT tbl.jjo_id AS "id", tbl.jjo_title AS "title", tbl.jjo_bodytext AS "bodytext", tbl.jjo_mood AS "mood", tbl.jjo_status AS "status", tbl.jjo_owner_uid AS "owner_uid", tbl.jjo_image AS "image", tbl.jjo_image_position AS "image_position", tbl.jjo_image_size_x AS "image_size_x", tbl.jjo_image_size_y AS "image_size_y", tbl.jjo_lu_uid AS "lu_uid", tbl.jjo_lu_date AS "lu_date", tbl.jjo_cr_date AS "cr_date", tbl.jjo_permission AS "permission" , a.pn_uname AS username FROM nukri_v4b_journal_journal AS tbl LEFT JOIN nukri_users a ON a.pn_uid = tbl.jjo_owner_uid WHERE jjo_owner_uid= AND jjo_permission IN ('A') ORDER BY cr_date DESC LIMIT 0, 25
  3. (array) 2:
    1. (string) file = /www/vhosts/nukri.org/html/includes/v4blib/V4BObjectArray.class.php
    2. (integer) line = 184
    3. (string) function = selectExpandedObjectArray
    4. (string) class = DBUtil
    5. (string) type = ->
    6. (array) args:
      1. (string) 0 = v4b_journal_journal
      2. (array) 1:
        1. (array) 0:
          1. (string) join_table = users
          2. (string) join_field = uname
          3. (string) object_field_name = username
          4. (string) compare_field_table = owner_uid
          5. (string) compare_field_join = uid
      3. (string) 2 = WHERE jjo_owner_uid= AND jjo_permission IN ('A')
      4. (string) 3 = ORDER BY cr_date DESC
      5. (integer) 4 = 0
      6. (string) 5 = 25
      7. (NULL) 6 = (none)
      8. (NULL) 7 = (none)
  4. (array) 3:
    1. (string) file = /www/vhosts/nukri.org/html/includes/v4blib/V4BObjectArray.class.php
    2. (integer) line = 159
    3. (string) function = select
    4. (string) class = V4BObjectArray
    5. (string) type = ->
    6. (array) args:
      1. (string) 0 = WHERE jjo_owner_uid= AND jjo_permission IN ('A')
      2. (string) 1 = ORDER BY cr_date DESC
      3. (integer) 2 = 0
      4. (string) 3 = 25
      5. (NULL) 4 = (none)
      6. (boolean) 5 =
  5. (array) 4:
    1. (string) file = /www/vhosts/nukri.org/html/modules/v4bJournal/classes/JournalUtil.class.php
    2. (integer) line = 84
    3. (string) function = get
    4. (string) class = V4BObjectArray
    5. (string) type = ->
    6. (array) args:
      1. (string) 0 = WHERE jjo_owner_uid= AND jjo_permission IN ('A')
      2. (string) 1 = ORDER BY cr_date DESC
      3. (integer) 2 = 0
      4. (string) 3 = 25
  6. (array) 5:
    1. (string) file = /www/vhosts/nukri.org/html/modules/v4bJournal/classes/V4BJournalEntryArray.class.php
    2. (integer) line = 49
    3. (string) function = getJournalEntries
    4. (string) class = JournalUtil
    5. (string) type = ->
    6. (array) args:
      1. (integer) 0 = 0
      2. (string) 1 = cr_date DESC
      3. (integer) 2 = 0
      4. (string) 3 = 25
  7. (array) 6:
    1. (string) file = /www/vhosts/nukri.org/html/modules/v4bJournal/pnuser.php
    2. (integer) line = 76
    3. (string) function = getJournalData
    4. (string) class = V4BJournalEntryArray
    5. (string) type = ->
    6. (array) args:
      1. (array) 0:
        1. (integer) uid = 0
        2. (string) sort = cr_date
        3. (string) mode = list
      2. (integer) 1 = 0
      3. (string) 2 = 25
  8. (array) 7:
    1. (string) file = /www/vhosts/nukri.org/html/includes/pnMod.php
    2. (integer) line = 735
    3. (string) function = v4bJournal_user_view
    4. (array) args:
      1. (array) 0: (empty)
  9. (array) 8:
    1. (string) file = /www/vhosts/nukri.org/html/index.php
    2. (integer) line = 110
    3. (string) function = pnModFunc
    4. (array) args:
      1. (string) 0 = v4bJournal
      2. (string) 1 = user
      3. (string) 2 = view
      4. (array) 3: (empty)
Exit-Handler: Exiting after SQL-error