ERROR: SQLSTATE[HY000] [2002] Operation not permitted
( ! ) Fatal error: Uncaught Error: Call to a member function prepare() on string in /home/u949427432/domains/notaria2deyumbo.com/public_html/Libraries/Core/Mysql.php on line 34
( ! ) Error: Call to a member function prepare() on string in /home/u949427432/domains/notaria2deyumbo.com/public_html/Libraries/Core/Mysql.php on line 34
Call Stack
#TimeMemoryFunctionLocation
10.0000363360{main}( ).../index.php:0
20.01706767936require_once( '/home/u949427432/domains/notaria2deyumbo.com/public_html/Libraries/Core/Load.php ).../index.php:30
30.02056888992Tienda->page( $pagina = '2' ).../Load.php:10
40.02297041592Views->getView( $controller = class Tienda { public $login = class LoginModel { private $intIdUsuario = NULL; private $strUsuario = NULL; private $strPassword = NULL; private $strToken = NULL; private ${Mysql}conexion = class PDO { ... }; private ${Mysql}strquery = NULL; private ${Mysql}arrValues = NULL; private ${Conexion}conect = NULL }; private $con = class Mysql { private $conexion = class PDO { ... }; private $strquery = 'SELECT c.idcategoria, c.nombre, c.portada, c.ruta, count(p.categoriaid) AS cantidad\r\n\t\t\t\t\t FROM producto p\r\n\t\t\t\t\t INNER JOIN categoria c\r\n\t\t\t\t\t ON p.categoriaid = c.idcategoria \r\n\t\t\t\t\t WHERE c.status = 1\r\n\t\t\t\t\t GROUP BY p.categoriaid, c.idcategoria'; private $arrValues = NULL; private ${Conexion}conect = NULL }; private $strCategoria = NULL; private $intIdcategoria = NULL; private $intIdProducto = NULL; private $strProducto = NULL; private $cant = NULL; private $option = NULL; private $strRuta = NULL; private $strRutaCategoria = NULL; private $intIdUsuario = NULL; private $strNombre = NULL; private $strApellido = NULL; private $intTelefono = NULL; private $strEmail = NULL; private $strPassword = NULL; private $strToken = NULL; private $intTipoId = NULL; private $intIdTransaccion = NULL; public $views = class Views { } }, $view = 'tienda', $data = ['productos' => [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...]], 'pagina' => '2', 'total_paginas' => 4, 'page_tag' => 'Notaría Segunda', 'page_title' => 'Notaría Segunda', 'page_name' => 'tienda', 'categorias' => [0 => [...], 1 => [...], 2 => [...], 3 => [...]]] ).../Tienda.php:423
50.02347042368require_once( '/home/u949427432/domains/notaria2deyumbo.com/public_html/Views/Tienda/tienda.php ).../Views.php:13
60.02347042368headerNotaria( $data = ['productos' => [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...]], 'pagina' => '2', 'total_paginas' => 4, 'page_tag' => 'Notaría Segunda', 'page_title' => 'Notaría Segunda', 'page_name' => 'tienda', 'categorias' => [0 => [...], 1 => [...], 2 => [...], 3 => [...]]] ).../tienda.php:2
70.02347043384require_once( '/home/u949427432/domains/notaria2deyumbo.com/public_html/Views/Template/header_notaria.php ).../Helpers.php:31
80.02397043384getInfoPage( $idpaginas = 3 ).../header_notaria.php:9
90.02427061992Mysql->select( $query = 'SELECT * FROM paginas WHERE idpaginas = 3' ).../Helpers.php:445