( ! ) 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.0003365008{main}( ).../post.php:0
20.02821604248publicData->getBlogPost( ).../post.php:9
30.02821604248publicData->getListData( ).../model.publicData.php:187
40.02821604344Data->getTable( ).../model.publicData.php:88
50.02821604496query ( ).../model.data.php:24