SQLSTATE[HY000]: General error: 1525 Incorrect DATE value: 'www.regattanetwork.com-01-01'<div style='font-family:monospace;padding:10px 0;font-weight:normal'>SELECT `Regatta`.`id`, `Regatta`.`name`, `Regatta`.`start_date`, `Regatta`.`end_date`, `Regatta`.`yacht_club_id`, `Regatta`.`is_a_season`, `Regatta`.`documents_url`, `Regatta`.`is_weigh_in`, `Regatta`.`comments`, `Regatta`.`is_first_half`, `Regatta`.`num_entries`, `YachtClub`.`id`, `YachtClub`.`name`, `YachtClub`.`url` FROM `sfj105_wordpress`.`regattas` AS `Regatta` LEFT JOIN `sfj105_wordpress`.`yacht_clubs` AS `YachtClub` ON (`Regatta`.`yacht_club_id` = `YachtClub`.`id`) WHERE `start_date` > 'www.regattanetwork.com-01-01' AND `end_date` <= 'www.regattanetwork.com-12-31' ORDER BY `start_date` ASC LIMIT 100</div>

Error: An Internal Error Has Occurred.

Stack Trace

  • CORE/Cake/Model/Datasource/DboSource.php line 715MysqlEx->execute(string, array, array)
  • CORE/Cake/Model/Datasource/DboSource.php line 1226DboSource->fetchAll(string, array)
  • CORE/Cake/Model/Model.php line 3053DboSource->read(Regatta, array)
  • CORE/Cake/Model/Model.php line 3025Model->_readDataSource(string, array)
  • CORE/Cake/Controller/Component/PaginatorComponent.php line 212Model->find(string, array)
  • CORE/Cake/Controller/Controller.php line 1107PaginatorComponent->paginate(Regatta, array, array)
  • APP/Controller/RegattasController.php line 23Controller->paginate()
  • [internal function]RegattasController->years(string, string, string)
  • CORE/Cake/Controller/Controller.php line 499ReflectionMethod->invokeArgs(RegattasController, array)
  • CORE/Cake/Routing/Dispatcher.php line 193Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 167Dispatcher->_invoke(RegattasController, CakeRequest)
  • APP/webroot/index.php line 131Dispatcher->dispatch(CakeRequest, JakeResponse)
  • ROOT/index.php line 41require(string)
  • /mnt/home/sfj105/sfj105-wordpress/web/app/plugins/cakepress/cake_embedded_dispatcher.class.php line 139require_once(string)
  • /mnt/home/sfj105/sfj105-wordpress/web/app/plugins/cakepress/CakePress.php line 48CakeEmbeddedDispatcher->get(null)
  • /mnt/home/sfj105/sfj105-wordpress/web/wp/wp-includes/class-wp-hook.php line 308CakePressPlugin->onInit(string)
  • /mnt/home/sfj105/sfj105-wordpress/web/wp/wp-includes/class-wp-hook.php line 332