pdo_class_wrapper icon indicating copy to clipboard operation
pdo_class_wrapper copied to clipboard

PHP8 Compatibility

Open gewaking opened this issue 4 years ago • 0 comments

Im getting an error in PHP 8 General error: 2014 Cannot execute queries while other unbuffered queries are active, trying to run this query:

			  $db->pdoQuery("
			  UPDATE sites
			  SET users = CASE
				 WHEN users = 0 THEN 1
				 ELSE CONCAT(users, ',1')
			  END
			  WHERE id = "  3
			  )->results();

It works fin in PHP 7+

gewaking avatar Jul 24 '21 12:07 gewaking