US and Canada Approvals for Naturopath

2024-12-21 23:20:29
array(4) {
  ["error"]=>
  string(13) "PDO-SQL-ERROR"
  ["PDO_error"]=>
  string(284) "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 'and islive=1 and country='US' OR profId= and islive=1 and country='CA' order ...' at line 1"
  ["SQL"]=>
  array(2) {
    ["query"]=>
    string(129) "select * from stateApprovals2 where profId= and islive=1 and country='US' OR profId= and islive=1 and country='CA' order by state"
    ["input"]=>
    array(0) {
    }
  }
  ["debug_backtrace"]=>
  array(4) {
    [0]=>
    array(7) {
      ["file"]=>
      string(55) "/home/powers/public_html/classLibs/class.pdoWrapper.inc"
      ["line"]=>
      int(107)
      ["function"]=>
      string(12) "pdoException"
      ["class"]=>
      string(10) "PdoWrapper"
      ["object"]=>
      object(PdoWrapper)#5 (4) {
        ["pdoHandle":"PdoWrapper":private]=>
        object(PDO)#6 (0) {
        }
        ["useTablecols"]=>
        int(0)
        ["useDatadumper"]=>
        int(0)
        ["sql"]=>
        array(2) {
          ["query"]=>
          string(129) "select * from stateApprovals2 where profId= and islive=1 and country='US' OR profId= and islive=1 and country='CA' order by state"
          ["input"]=>
          array(0) {
          }
        }
      }
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        string(284) "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 'and islive=1 and country='US' OR profId= and islive=1 and country='CA' order ...' at line 1"
      }
    }
    [1]=>
    array(7) {
      ["file"]=>
      string(55) "/home/powers/public_html/classLibs/class.pdoWrapper.inc"
      ["line"]=>
      int(126)
      ["function"]=>
      string(10) "pdoExecute"
      ["class"]=>
      string(10) "PdoWrapper"
      ["object"]=>
      object(PdoWrapper)#5 (4) {
        ["pdoHandle":"PdoWrapper":private]=>
        object(PDO)#6 (0) {
        }
        ["useTablecols"]=>
        int(0)
        ["useDatadumper"]=>
        int(0)
        ["sql"]=>
        array(2) {
          ["query"]=>
          string(129) "select * from stateApprovals2 where profId= and islive=1 and country='US' OR profId= and islive=1 and country='CA' order by state"
          ["input"]=>
          array(0) {
          }
        }
      }
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        string(129) "select * from stateApprovals2 where profId= and islive=1 and country='US' OR profId= and islive=1 and country='CA' order by state"
        [1]=>
        array(0) {
        }
      }
    }
    [2]=>
    array(7) {
      ["file"]=>
      string(50) "/home/powers/public_html/classLibs/class.MyPdo.inc"
      ["line"]=>
      int(15)
      ["function"]=>
      string(9) "pdoGetAll"
      ["class"]=>
      string(10) "PdoWrapper"
      ["object"]=>
      object(PdoWrapper)#5 (4) {
        ["pdoHandle":"PdoWrapper":private]=>
        object(PDO)#6 (0) {
        }
        ["useTablecols"]=>
        int(0)
        ["useDatadumper"]=>
        int(0)
        ["sql"]=>
        array(2) {
          ["query"]=>
          string(129) "select * from stateApprovals2 where profId= and islive=1 and country='US' OR profId= and islive=1 and country='CA' order by state"
          ["input"]=>
          array(0) {
          }
        }
      }
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        string(129) "select * from stateApprovals2 where profId= and islive=1 and country='US' OR profId= and islive=1 and country='CA' order by state"
        [1]=>
        array(0) {
        }
      }
    }
    [3]=>
    array(7) {
      ["file"]=>
      string(62) "/home/powers/public_html/stateApprovals/professions2/index.php"
      ["line"]=>
      int(73)
      ["function"]=>
      string(10) "fetch_rows"
      ["class"]=>
      string(5) "MyPdo"
      ["object"]=>
      object(MyPdo)#4 (4) {
        ["pdo"]=>
        object(PdoWrapper)#5 (4) {
          ["pdoHandle":"PdoWrapper":private]=>
          object(PDO)#6 (0) {
          }
          ["useTablecols"]=>
          int(0)
          ["useDatadumper"]=>
          int(0)
          ["sql"]=>
          array(2) {
            ["query"]=>
            string(129) "select * from stateApprovals2 where profId= and islive=1 and country='US' OR profId= and islive=1 and country='CA' order by state"
            ["input"]=>
            array(0) {
            }
          }
        }
        ["pdoHandle":"PdoWrapper":private]=>
        NULL
        ["useTablecols"]=>
        int(0)
        ["useDatadumper"]=>
        int(0)
      }
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        string(129) "select * from stateApprovals2 where profId= and islive=1 and country='US' OR profId= and islive=1 and country='CA' order by state"
      }
    }
  }
}