Skip to content
Advertisement

Tag: fluentpdo

Undefined class constant ‘PDO::FETCH_DEFAULT’

I’m using PHP FluentPDO, this query works in localhost, but not in webhosting. PHP version is 7.4, FluentPDO: “envms/fluentpdo”: “^2.2”: The error is: Undefined class constant ‘PDO::FETCH_DEFAULT’ Answer PHP version is 7.4 This PHP version is no longer supported. Please upgrade to an actively supported version if you can. PDO::FETCH_DEFAULT is available only since PHP 8.0.7, so if you are

Advertisement