( ! ) Fatal error: Uncaught Error: Call to undefined method DB::error() in /core/pvpn/_includes/classes/class.blog.php on line 56 |
( ! ) Error: Call to undefined method DB::error() in /core/pvpn/_includes/classes/class.blog.php on line 56 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0000 | 362912 | {main}( ) | .../index.php:0 |
2 | 0.1307 | 624432 | include( '/core/pvpn/page_blog.php' ) | .../index.php:287 |
3 | 0.1311 | 630272 | Blog->getPosts( ) | .../page_blog.php:94 |
Variables in local scope (#3) |
$conditions = |
/core/pvpn/_includes/classes/class.blog.php:56:string '' (length=0)
|
$count_query = |
/core/pvpn/_includes/classes/class.blog.php:56:*uninitialized*
|
$ids = |
/core/pvpn/_includes/classes/class.blog.php:56:*uninitialized*
|
$joins = |
/core/pvpn/_includes/classes/class.blog.php:56:string '' (length=0)
|
$limit = |
/core/pvpn/_includes/classes/class.blog.php:56:string '10' (length=2)
|
$offset = |
/core/pvpn/_includes/classes/class.blog.php:56:int -10
|
$order = |
/core/pvpn/_includes/classes/class.blog.php:56:string '`p`.`published` DESC, `p`.`created` DESC' (length=40)
|
$params = |
/core/pvpn/_includes/classes/class.blog.php:56:null
|
$post = |
/core/pvpn/_includes/classes/class.blog.php:56:*uninitialized*
|
$posts = |
/core/pvpn/_includes/classes/class.blog.php:56:*uninitialized*
|
$query = |
/core/pvpn/_includes/classes/class.blog.php:56:boolean false
|
$row = |
/core/pvpn/_includes/classes/class.blog.php:56:*uninitialized*
|
$sql = |
/core/pvpn/_includes/classes/class.blog.php:56:string 'SELECT `p`.*, `c`.`name` `category_name`, `c`.`name_url` AS `category_name_url`, `u`.`name` AS `user_name`, `u`.`username` AS `user_username`, `u`.`avatar` AS `user_avatar`
FROM lcms_privatevpn.blog_posts AS `p`
JOIN lcms_privatevpn.blog_categories AS `c` ON(`c`.`id` = `p`.`category_id`)
JOIN lcms_privatevpn.blog_users AS `u` ON(`u`.`id` = `p`.`user_id`)
WHERE `p`.`deleted` = 0 AND `p`.`hidden` = 0 ORDER BY `p`.`published` DESC, `p`.`created` DESC LIMIT -10, '... (length=514)
|