Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'url ''' at line 5 [CORE/cake/libs/model/datasources/dbo_source.php, line 684]Code
if ($this->error) {
$this->showQuery($sql);
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 287
Model::query() - CORE/cake/libs/model/model.php, line 2489
Pagina::get_registro() - APP/models/pagina.php, line 39
AppController::index() - APP/controllers/app_controller.php, line 56
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 86
Query:
SELECT * from pagina_textos as PaginaTexto
LEFT JOIN paginas as Pagina
ON PaginaTexto.pagina_id = Pagina.id
WHERE
PaginaTexto.slug ='' url ''
Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'url '%') LIMIT 1' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 684]Code
if ($this->error) {
$this->showQuery($sql);
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 821
Model::find() - CORE/cake/libs/model/model.php, line 2153
Pagina::get_registro() - APP/models/pagina.php, line 59
AppController::index() - APP/controllers/app_controller.php, line 56
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 86
Query: SELECT `Pagina`.`id`, `Pagina`.`visible`, `Pagina`.`tipo`, `Pagina`.`referencia`, `Pagina`.`categoria_menu`, `Pagina`.`imagen`, `Pagina`.`layout`, `Pagina`.`mapa`, `Pagina`.`tiene_mapa`, `Pagina`.`tiene_formulario`, `Pagina`.`cantidad_textos_blog`, `Pagina`.`foto-portada-blog`, `Pagina`.`nota`, `Pagina`.`mini_nota`, `Pagina`.`orden`, `Pagina`.`created`, `Pagina`.`modified`, `Pagina`.`titulo` FROM `paginas` AS `Pagina` WHERE `Pagina`.`referencia` like ('%' url '%') LIMIT 1
no se encuentra la páginaWarning (2): Trying to access array offset on null [APP/controllers/app_controller.php, line 58]Code )));
}
$output = call_user_func_array(array(&$controller, $params['action']), $params['pass']);
AppController::index() - APP/controllers/app_controller.php, line 58
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 86
Warning: Trying to access array offset on null in /var/www/vhosts/fastbikesbcn.es/httpdocs/app/controllers/app_controller.php on line 58
Fatal error: Uncaught TypeError: key(): Argument #1 ($array) must be of type array, null given in /var/www/vhosts/fastbikesbcn.es/httpdocs/app/models/texto.php:31
Stack trace:
#0 /var/www/vhosts/fastbikesbcn.es/httpdocs/app/models/texto.php(31): key()
#1 /var/www/vhosts/fastbikesbcn.es/httpdocs/app/controllers/app_controller.php(60): Texto->get_textos()
#2 /var/www/vhosts/fastbikesbcn.es/httpdocs/cake/dispatcher.php(204): AppController->index()
#3 /var/www/vhosts/fastbikesbcn.es/httpdocs/cake/dispatcher.php(171): Dispatcher->_invoke()
#4 /var/www/vhosts/fastbikesbcn.es/httpdocs/app/webroot/index.php(86): Dispatcher->dispatch()
#5 {main}
thrown in /var/www/vhosts/fastbikesbcn.es/httpdocs/app/models/texto.php on line 31