( ! ) Fatal error: Uncaught PDOException: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "{{post.id}}" LINE 1: SELECT post_date as date,id FROM post WHERE id='{{post.id}}' ^ in /var/www/project/model/model.data.php on line 24
( ! ) PDOException: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "{{post.id}}" LINE 1: SELECT post_date as date,id FROM post WHERE id='{{post.id}}' ^ in /var/www/project/model/model.data.php on line 24
Call Stack
#TimeMemoryFunctionLocation
10.0002365216{main}( ).../post.php:0
20.02951776160publicData->getBlogPost( ).../post.php:9
30.02951776160publicData->getListData( ).../model.publicData.php:190
40.02951776256Data->getTable( ).../model.publicData.php:91
50.02951776408query ( ).../model.data.php:24