Deprecated: Return type of ActiveRecord\DateTime::createFromFormat($format, $time, $tz = null) should either be compatible with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/admin/resources/vendor/php-activerecord/php-activerecord/lib/DateTime.php on line 120
Deprecated: Return type of ActiveRecord\DateTime::format($format = null) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/admin/resources/vendor/php-activerecord/php-activerecord/lib/DateTime.php on line 87
Deprecated: Return type of ActiveRecord\DateTime::modify($modify) should either be compatible with DateTime::modify(string $modifier): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/admin/resources/vendor/php-activerecord/php-activerecord/lib/DateTime.php on line 186
Deprecated: Return type of ActiveRecord\DateTime::add($interval) should either be compatible with DateTime::add(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/admin/resources/vendor/php-activerecord/php-activerecord/lib/DateTime.php on line 192
Deprecated: Return type of ActiveRecord\DateTime::sub($interval) should either be compatible with DateTime::sub(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/admin/resources/vendor/php-activerecord/php-activerecord/lib/DateTime.php on line 198
Deprecated: Return type of ActiveRecord\DateTime::setTimezone($timezone) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/admin/resources/vendor/php-activerecord/php-activerecord/lib/DateTime.php on line 180
Deprecated: Return type of ActiveRecord\DateTime::setTime($hour, $minute, $second = 0, $microseconds = 0) should either be compatible with DateTime::setTime(int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/admin/resources/vendor/php-activerecord/php-activerecord/lib/DateTime.php on line 168
Deprecated: Return type of ActiveRecord\DateTime::setDate($year, $month, $day) should either be compatible with DateTime::setDate(int $year, int $month, int $day): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/admin/resources/vendor/php-activerecord/php-activerecord/lib/DateTime.php on line 156
Deprecated: Return type of ActiveRecord\DateTime::setISODate($year, $week, $day = 1) should either be compatible with DateTime::setISODate(int $year, int $week, int $dayOfWeek = 1): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/admin/resources/vendor/php-activerecord/php-activerecord/lib/DateTime.php on line 162
Deprecated: Return type of ActiveRecord\DateTime::setTimestamp($unixtimestamp) should either be compatible with DateTime::setTimestamp(int $timestamp): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/admin/resources/vendor/php-activerecord/php-activerecord/lib/DateTime.php on line 174
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /var/www/html/admin/resources/vendor/php-activerecord/php-activerecord/lib/Model.php:1670
Stack trace:
#0 /var/www/html/admin/resources/vendor/php-activerecord/php-activerecord/lib/Model.php(1670): count('seccion_noticia...')
#1 /var/www/html/admin/resources/vendor/php-activerecord/php-activerecord/lib/Model.php(1605): ActiveRecord\Model::find_by_pk('seccion_noticia...', Array)
#2 /var/www/html/admin/resources/services/ParametroService.php(12): ActiveRecord\Model::find('seccion_noticia...')
#3 /var/www/html/admin/resources/services/SeccionService.php(508): ParametroService::get('seccion_noticia...')
#4 /var/www/html/admin/resources/services/SeccionService.php(512): SeccionService::getSeccionesNoticiasIds()
#5 /var/www/html/admin/resources/pages/web/index.php(11): SeccionService::getSeccionNoticia()
#6 /var/www/html/index.php(28): include_once('/var/www/html/a...')
#7 {main}
thrown in /var/www/html/admin/resources/vendor/php-activerecord/php-activerecord/lib/Model.php on line 1670