Jump to content

DarioVanin

New Members
  • Posts

    2
  • Joined

  • Last visited

Community Answers

  1. DarioVanin's post in PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. was marked as the answer   
    problem solved. I had to upgrade from php7 to php8 and add 
    $sth->closeCursor();
    after
    $sth->fetchAll();
    I also vhanged the optinos as below
          PDO::ATTR_ERRMODE            => PDO::ERRMODE_EXCEPTION,
          PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
          PDO::ATTR_EMULATE_PREPARES   => false,
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.