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 'AS tbl WHERE = 'myprofile_invalidemail'' at line 1
SELECT COUNT( 1) FROM AS tbl WHERE = 'myprofile_invalidemail'
Exit-Handler: Exiting after SQL-error
Stack Trace:
  1. (array) 0:
    1. (string) file = /customers/9/8/c/elfisk.dk/httpd.www/includes/DBUtil.class.php
    2. (integer) line = 132
    3. (string) function = pn_exit
    4. (array) args:
      1. (string) 0 = Exiting after SQL-error
  2. (array) 1:
    1. (string) file = /customers/9/8/c/elfisk.dk/httpd.www/includes/DBUtil.class.php
    2. (integer) line = 1196
    3. (string) function = executeSQL
    4. (string) class = DBUtil
    5. (string) type = ::
    6. (array) args:
      1. (string) 0 = SELECT COUNT( 1) FROM AS tbl WHERE = 'myprofile_invalidemail'
  3. (array) 2:
    1. (string) file = /customers/9/8/c/elfisk.dk/httpd.www/modules/MyProfile/includes/common.php
    2. (integer) line = 72
    3. (string) function = selectObjectCount
    4. (string) class = DBUtil
    5. (string) type = ::
    6. (array) args:
      1. (string) 0 = objectdata_attributes
      2. (string) 1 = = 'myprofile_invalidemail'
  4. (array) 3:
    1. (string) file = /customers/9/8/c/elfisk.dk/httpd.www/modules/MyProfile/includes/common.php
    2. (integer) line = 20
    3. (string) function = mp_getInformation
    4. (array) args: (empty)
  5. (array) 4:
    1. (string) file = /customers/9/8/c/elfisk.dk/httpd.www/modules/MyProfile/pnuser.php
    2. (integer) line = 212
    3. (string) function = mp_storeStats
    4. (array) args: (empty)
  6. (array) 5:
    1. (string) file = /customers/9/8/c/elfisk.dk/httpd.www/modules/MyProfile/pnuser.php
    2. (integer) line = 197
    3. (string) function = MyProfile_user_display
    4. (array) args: (empty)
  7. (array) 6:
    1. (string) file = /customers/9/8/c/elfisk.dk/httpd.www/includes/pnMod.php
    2. (integer) line = 719
    3. (string) function = MyProfile_user_view
    4. (array) args:
      1. (array) 0: (empty)
  8. (array) 7:
    1. (string) file = /customers/9/8/c/elfisk.dk/httpd.www/includes/pnMod.php
    2. (integer) line = 656
    3. (string) function = pnModFuncExec
    4. (array) args:
      1. (string) 0 = MyProfile
      2. (string) 1 = user
      3. (string) 2 = view
      4. (array) 3: (empty)
  9. (array) 8:
    1. (string) file = /customers/9/8/c/elfisk.dk/httpd.www/index.php
    2. (integer) line = 99
    3. (string) function = pnModFunc
    4. (array) args:
      1. (string) 0 = MyProfile
      2. (string) 1 = user
      3. (string) 2 = view
      4. (array) 3: (empty)