PDOException Object
(
[message:protected] => SQLSTATE[HY000] [1045] Access denied for user 'admin_movie'@'shared-25.smartape.ru' (using password: YES)
[string:Exception:private] =>
[code:protected] => 1045
[file:protected] => /var/www/user1142168/data/www/movie-porn.ru/includes/Database.php
[line:protected] => 54
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/user1142168/data/www/movie-porn.ru/includes/Database.php
[line] => 54
[function] => __construct
[class] => PDO
[type] => ->
[args] => Array
(
[0] => mysql:host=185.9.147.100;port=3313;dbname=admin_movie;charset=utf8
[1] => admin_movie
[2] => yr8i85WUIT
)
)
[1] => Array
(
[file] => /var/www/user1142168/data/www/movie-porn.ru/data/config.php
[line] => 12
[function] => get
[class] => Database
[type] => ::
[args] => Array
(
)
)
[2] => Array
(
[file] => /var/www/user1142168/data/www/movie-porn.ru/index.php
[line] => 31
[args] => Array
(
[0] => /var/www/user1142168/data/www/movie-porn.ru/data/config.php
)
[function] => include_once
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => HY000
[1] => 1045
[2] => Access denied for user 'admin_movie'@'shared-25.smartape.ru' (using password: YES)
)
)
PDOException Object
(
[message:protected] => SQLSTATE[HY000] [1045] Access denied for user 'admin_movie'@'shared-25.smartape.ru' (using password: YES)
[string:Exception:private] =>
[code:protected] => 1045
[file:protected] => /var/www/user1142168/data/www/movie-porn.ru/includes/Database.php
[line:protected] => 54
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/user1142168/data/www/movie-porn.ru/includes/Database.php
[line] => 54
[function] => __construct
[class] => PDO
[type] => ->
[args] => Array
(
[0] => mysql:host=185.9.147.100;port=3313;dbname=admin_movie;charset=utf8
[1] => admin_movie
[2] => yr8i85WUIT
)
)
[1] => Array
(
[file] => /var/www/user1142168/data/www/movie-porn.ru/includes/User.php
[line] => 10
[function] => get
[class] => Database
[type] => ::
[args] => Array
(
)
)
[2] => Array
(
[file] => /var/www/user1142168/data/www/movie-porn.ru/data/config.php
[line] => 15
[function] => __construct
[class] => USER
[type] => ->
[args] => Array
(
)
)
[3] => Array
(
[file] => /var/www/user1142168/data/www/movie-porn.ru/index.php
[line] => 31
[args] => Array
(
[0] => /var/www/user1142168/data/www/movie-porn.ru/data/config.php
)
[function] => include_once
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => HY000
[1] => 1045
[2] => Access denied for user 'admin_movie'@'shared-25.smartape.ru' (using password: YES)
)
)
PDOException Object
(
[message:protected] => SQLSTATE[HY000] [1045] Access denied for user 'admin_movie'@'shared-25.smartape.ru' (using password: YES)
[string:Exception:private] =>
[code:protected] => 1045
[file:protected] => /var/www/user1142168/data/www/movie-porn.ru/includes/Database.php
[line:protected] => 54
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/user1142168/data/www/movie-porn.ru/includes/Database.php
[line] => 54
[function] => __construct
[class] => PDO
[type] => ->
[args] => Array
(
[0] => mysql:host=185.9.147.100;port=3313;dbname=admin_movie;charset=utf8
[1] => admin_movie
[2] => yr8i85WUIT
)
)
[1] => Array
(
[file] => /var/www/user1142168/data/www/movie-porn.ru/_models/CategoriesModel.php
[line] => 6
[function] => get
[class] => Database
[type] => ::
[args] => Array
(
)
)
[2] => Array
(
[file] => /var/www/user1142168/data/www/movie-porn.ru/data/config.php
[line] => 22
[function] => getCategoriesByName
[class] => CategoriesModel
[type] => ::
[args] => Array
(
)
)
[3] => Array
(
[file] => /var/www/user1142168/data/www/movie-porn.ru/index.php
[line] => 31
[args] => Array
(
[0] => /var/www/user1142168/data/www/movie-porn.ru/data/config.php
)
[function] => include_once
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => HY000
[1] => 1045
[2] => Access denied for user 'admin_movie'@'shared-25.smartape.ru' (using password: YES)
)
)
PDOException Object
(
[message:protected] => SQLSTATE[HY000] [1045] Access denied for user 'admin_movie'@'shared-25.smartape.ru' (using password: YES)
[string:Exception:private] =>
[code:protected] => 1045
[file:protected] => /var/www/user1142168/data/www/movie-porn.ru/includes/Database.php
[line:protected] => 54
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/user1142168/data/www/movie-porn.ru/includes/Database.php
[line] => 54
[function] => __construct
[class] => PDO
[type] => ->
[args] => Array
(
[0] => mysql:host=185.9.147.100;port=3313;dbname=admin_movie;charset=utf8
[1] => admin_movie
[2] => yr8i85WUIT
)
)
[1] => Array
(
[file] => /var/www/user1142168/data/www/movie-porn.ru/_models/PagesModel.php
[line] => 6
[function] => get
[class] => Database
[type] => ::
[args] => Array
(
)
)
[2] => Array
(
[file] => /var/www/user1142168/data/www/movie-porn.ru/index.php
[line] => 35
[function] => getPageBySlug
[class] => PagesModel
[type] => ::
[args] => Array
(
[0] => index
)
)
[3] => Array
(
[file] => /var/www/user1142168/data/www/movie-porn.ru/index.php
[line] => 157
[function] => {closure}
[args] => Array
(
)
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => HY000
[1] => 1045
[2] => Access denied for user 'admin_movie'@'shared-25.smartape.ru' (using password: YES)
)
)
Fatal error: Uncaught Error: Call to a member function select() on null in /var/www/user1142168/data/www/movie-porn.ru/_models/PagesModel.php:7
Stack trace:
#0 /var/www/user1142168/data/www/movie-porn.ru/index.php(35): PagesModel::getPageBySlug('index')
#1 /var/www/user1142168/data/www/movie-porn.ru/index.php(157): {closure}()
#2 {main}
thrown in /var/www/user1142168/data/www/movie-porn.ru/_models/PagesModel.php on line 7