ErrorArray ( [headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object ( [data:protected] => Array ( [date] => Tue, 02 Jul 2024 08:59:46 GMT [server] => Apache [expires] => Thu, 19 Nov 1981 08:52:00 GMT [pragma] => no-cache [cache-control] => public, max-age=86400 [access-control-max-age] => 1728000 [access-control-allow-headers] => Array ( [0] => X-Requested-With, Content-Type, Accept, Origin, Authorization, X-Auth-Token [1] => Access-Control-Request-Method, Access-Control-Request-Headers, Authorization, Origin, X-Requested-With, Content-Type, Accept ) [access-control-allow-methods] => Array ( [0] => GET, POST, PUT, DELETE, PATCH, OPTIONS [1] => GET, POST, PUT, DELETE, OPTIONS ) [set-cookie] => PHPSESSID=05p9k63mrrsbm06kiah0re0a17; expires=Wed, 02-Jul-2025 08:59:46 GMT; Max-Age=31536000; path=/ [content-security-policy] => upgrade-insecure-requests; [upgrade] => h2 [access-control-allow-origin] => * [content-type] => text/html;charset=UTF-8 ) ) [body] => Slim Application Error

Slim Application Error

The application could not run because of the following error:

Details

Type: TypeError
Code: 0
Message: count(): Argument #1 ($value) must be of type Countable|array, string given
File: /var/www/html/verdsapp/api/app/Actuacions.php
Line: 961

Trace

#0 /var/www/html/verdsapp/api/app/Actuacions.php(961): count()
#1 /var/www/html/verdsapp/api/app/Actuacions.php(1157): App\Actuacions->getFilters()
#2 /var/www/html/verdsapp/api/index.php(5151): App\Actuacions->getActuacions()
#3 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(38): Closure->{closure}()
#4 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Routing/Route.php(358): Slim\Handlers\Strategies\RequestResponse->__invoke()
#5 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\Routing\Route->handle()
#6 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\MiddlewareDispatcher->handle()
#7 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Routing/Route.php(315): Slim\MiddlewareDispatcher->handle()
#8 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Routing/RouteRunner.php(68): Slim\Routing\Route->run()
#9 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Slim\Routing\RouteRunner->handle()
#10 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process()
#11 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#12 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process()
#13 /var/www/html/verdsapp/api/vendor/slim/twig-view/src/TwigMiddleware.php(115): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#14 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Views\TwigMiddleware->process()
#15 /var/www/html/verdsapp/api/vendor/middlewares/trailing-slash/src/TrailingSlash.php(56): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#16 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Middlewares\TrailingSlash->process()
#17 /var/www/html/verdsapp/api/vendor/slim/http-cache/src/Cache.php(67): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#18 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\HttpCache\Cache->process()
#19 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(45): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#20 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\RoutingMiddleware->process()
#21 /var/www/html/verdsapp/api/index.php(2924): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#22 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): Closure->{closure}()
#23 /var/www/html/verdsapp/api/vendor/tuupola/slim-basic-auth/src/HttpBasicAuthentication.php(126): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#24 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Tuupola\Middleware\HttpBasicAuthentication->process()
#25 /var/www/html/verdsapp/api/vendor/tuupola/slim-basic-auth/src/HttpBasicAuthentication.php(126): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#26 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Tuupola\Middleware\HttpBasicAuthentication->process()
#27 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#28 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle()
#29 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/App.php(183): Slim\App->handle()
#30 /var/www/html/verdsapp/api/index.php(5238): Slim\App->run()
#31 {main}
Go Back [response] => Array ( [code] => 500 [message] => Internal Server Error ) [cookies] => Array ( [0] => WP_Http_Cookie Object ( [name] => PHPSESSID [value] => 05p9k63mrrsbm06kiah0re0a17 [expires] => 1751446786 [path] => / [domain] => api.castellersdevilafranca.cat [port] => [host_only] => 1 ) ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [data] => [headers] => [status] => [response:protected] => WpOrg\Requests\Response Object ( [body] => Slim Application Error

Slim Application Error

The application could not run because of the following error:

Details

Type: TypeError
Code: 0
Message: count(): Argument #1 ($value) must be of type Countable|array, string given
File: /var/www/html/verdsapp/api/app/Actuacions.php
Line: 961

Trace

#0 /var/www/html/verdsapp/api/app/Actuacions.php(961): count()
#1 /var/www/html/verdsapp/api/app/Actuacions.php(1157): App\Actuacions->getFilters()
#2 /var/www/html/verdsapp/api/index.php(5151): App\Actuacions->getActuacions()
#3 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(38): Closure->{closure}()
#4 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Routing/Route.php(358): Slim\Handlers\Strategies\RequestResponse->__invoke()
#5 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\Routing\Route->handle()
#6 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\MiddlewareDispatcher->handle()
#7 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Routing/Route.php(315): Slim\MiddlewareDispatcher->handle()
#8 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Routing/RouteRunner.php(68): Slim\Routing\Route->run()
#9 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Slim\Routing\RouteRunner->handle()
#10 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process()
#11 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#12 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process()
#13 /var/www/html/verdsapp/api/vendor/slim/twig-view/src/TwigMiddleware.php(115): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#14 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Views\TwigMiddleware->process()
#15 /var/www/html/verdsapp/api/vendor/middlewares/trailing-slash/src/TrailingSlash.php(56): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#16 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Middlewares\TrailingSlash->process()
#17 /var/www/html/verdsapp/api/vendor/slim/http-cache/src/Cache.php(67): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#18 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\HttpCache\Cache->process()
#19 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(45): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#20 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\RoutingMiddleware->process()
#21 /var/www/html/verdsapp/api/index.php(2924): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#22 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): Closure->{closure}()
#23 /var/www/html/verdsapp/api/vendor/tuupola/slim-basic-auth/src/HttpBasicAuthentication.php(126): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#24 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Tuupola\Middleware\HttpBasicAuthentication->process()
#25 /var/www/html/verdsapp/api/vendor/tuupola/slim-basic-auth/src/HttpBasicAuthentication.php(126): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#26 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Tuupola\Middleware\HttpBasicAuthentication->process()
#27 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#28 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle()
#29 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/App.php(183): Slim\App->handle()
#30 /var/www/html/verdsapp/api/index.php(5238): Slim\App->run()
#31 {main}
Go Back [raw] => HTTP/1.1 500 Internal Server Error Date: Tue, 02 Jul 2024 08:59:46 GMT Server: Apache Expires: Thu, 19 Nov 1981 08:52:00 GMT Pragma: no-cache Cache-Control: public, max-age=86400 Access-Control-Max-Age: 1728000 Access-Control-Allow-Headers: X-Requested-With, Content-Type, Accept, Origin, Authorization, X-Auth-Token Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS Set-Cookie: PHPSESSID=05p9k63mrrsbm06kiah0re0a17; expires=Wed, 02-Jul-2025 08:59:46 GMT; Max-Age=31536000; path=/ Content-Security-Policy: upgrade-insecure-requests; Upgrade: h2 Connection: Upgrade, close Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS Access-Control-Allow-Headers: Access-Control-Request-Method, Access-Control-Request-Headers, Authorization, Origin, X-Requested-With, Content-Type, Accept Transfer-Encoding: chunked Content-Type: text/html;charset=UTF-8 Slim Application Error

Slim Application Error

The application could not run because of the following error:

Details

Type: TypeError
Code: 0
Message: count(): Argument #1 ($value) must be of type Countable|array, string given
File: /var/www/html/verdsapp/api/app/Actuacions.php
Line: 961

Trace

#0 /var/www/html/verdsapp/api/app/Actuacions.php(961): count()
#1 /var/www/html/verdsapp/api/app/Actuacions.php(1157): App\Actuacions->getFilters()
#2 /var/www/html/verdsapp/api/index.php(5151): App\Actuacions->getActuacions()
#3 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(38): Closure->{closure}()
#4 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Routing/Route.php(358): Slim\Handlers\Strategies\RequestResponse->__invoke()
#5 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\Routing\Route->handle()
#6 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\MiddlewareDispatcher->handle()
#7 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Routing/Route.php(315): Slim\MiddlewareDispatcher->handle()
#8 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Routing/RouteRunner.php(68): Slim\Routing\Route->run()
#9 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Slim\Routing\RouteRunner->handle()
#10 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process()
#11 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#12 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process()
#13 /var/www/html/verdsapp/api/vendor/slim/twig-view/src/TwigMiddleware.php(115): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#14 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Views\TwigMiddleware->process()
#15 /var/www/html/verdsapp/api/vendor/middlewares/trailing-slash/src/TrailingSlash.php(56): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#16 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Middlewares\TrailingSlash->process()
#17 /var/www/html/verdsapp/api/vendor/slim/http-cache/src/Cache.php(67): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#18 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\HttpCache\Cache->process()
#19 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(45): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#20 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\RoutingMiddleware->process()
#21 /var/www/html/verdsapp/api/index.php(2924): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#22 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): Closure->{closure}()
#23 /var/www/html/verdsapp/api/vendor/tuupola/slim-basic-auth/src/HttpBasicAuthentication.php(126): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#24 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Tuupola\Middleware\HttpBasicAuthentication->process()
#25 /var/www/html/verdsapp/api/vendor/tuupola/slim-basic-auth/src/HttpBasicAuthentication.php(126): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#26 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Tuupola\Middleware\HttpBasicAuthentication->process()
#27 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#28 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle()
#29 /var/www/html/verdsapp/api/vendor/slim/slim/Slim/App.php(183): Slim\App->handle()
#30 /var/www/html/verdsapp/api/index.php(5238): Slim\App->run()
#31 {main}
Go Back [headers] => WpOrg\Requests\Response\Headers Object ( [data:protected] => Array ( [date] => Array ( [0] => Tue, 02 Jul 2024 08:59:46 GMT ) [server] => Array ( [0] => Apache ) [expires] => Array ( [0] => Thu, 19 Nov 1981 08:52:00 GMT ) [pragma] => Array ( [0] => no-cache ) [cache-control] => Array ( [0] => public, max-age=86400 ) [access-control-max-age] => Array ( [0] => 1728000 ) [access-control-allow-headers] => Array ( [0] => X-Requested-With, Content-Type, Accept, Origin, Authorization, X-Auth-Token [1] => Access-Control-Request-Method, Access-Control-Request-Headers, Authorization, Origin, X-Requested-With, Content-Type, Accept ) [access-control-allow-methods] => Array ( [0] => GET, POST, PUT, DELETE, PATCH, OPTIONS [1] => GET, POST, PUT, DELETE, OPTIONS ) [set-cookie] => Array ( [0] => PHPSESSID=05p9k63mrrsbm06kiah0re0a17; expires=Wed, 02-Jul-2025 08:59:46 GMT; Max-Age=31536000; path=/ ) [content-security-policy] => Array ( [0] => upgrade-insecure-requests; ) [upgrade] => Array ( [0] => h2 ) [access-control-allow-origin] => Array ( [0] => * ) [content-type] => Array ( [0] => text/html;charset=UTF-8 ) ) ) [status_code] => 500 [protocol_version] => 1.1 [success] => [redirects] => 0 [url] => https://api.castellersdevilafranca.cat/actuacions/search [history] => Array ( ) [cookies] => WpOrg\Requests\Cookie\Jar Object ( [cookies:protected] => Array ( [PHPSESSID] => WpOrg\Requests\Cookie Object ( [name] => PHPSESSID [value] => 05p9k63mrrsbm06kiah0re0a17 [attributes] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object ( [data:protected] => Array ( [expires] => 1751446786 [max-age] => 1751446786 [path] => / [domain] => api.castellersdevilafranca.cat ) ) [flags] => Array ( [creation] => 1719910786 [last-access] => 1719910786 [persistent] => [host-only] => 1 ) [reference_time] => 1719910786 ) ) ) ) [filename:protected] => ) ) Array ( [dateIni] => 1948-01-01 [dateEnd] => 2024-07-02 [castell] => 9d9f [diada] => [colla] => cv [poblacio] => [resultat] => ) 500

El 9 de 9 amb folre és el castell més gran mai aconseguit hi arriben a pujar 169 castellers entre folre, tronc i canalla.

pilar de 9 amb folre manilles i puntals

Primer 9d9f carregat – Tots Sants – 01/11/2023