ErrorArray ( [headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object ( [data:protected] => Array ( [date] => Sun, 23 Jun 2024 21:15:00 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=il11a2b0r21tj8nsligrjsd15e; expires=Mon, 23-Jun-2025 21:15:00 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] => il11a2b0r21tj8nsligrjsd15e [expires] => 1750713300 [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: Sun, 23 Jun 2024 21:15:00 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=il11a2b0r21tj8nsligrjsd15e; expires=Mon, 23-Jun-2025 21:15:00 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] => Sun, 23 Jun 2024 21:15:00 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=il11a2b0r21tj8nsligrjsd15e; expires=Mon, 23-Jun-2025 21:15:00 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] => il11a2b0r21tj8nsligrjsd15e [attributes] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object ( [data:protected] => Array ( [expires] => 1750713300 [max-age] => 1750713300 [path] => / [domain] => api.castellersdevilafranca.cat ) ) [flags] => Array ( [creation] => 1719177300 [last-access] => 1719177300 [persistent] => [host-only] => 1 ) [reference_time] => 1719177300 ) ) ) ) [filename:protected] => ) ) Array ( [dateIni] => 1948-01-01 [dateEnd] => 2024-06-23 [castell] => 4d10fm [diada] => [colla] => cv [poblacio] => [resultat] => ) 500

El quatre de deu amb folre i manilles és el castell que requereix més gent de tots. El somni dels castells de deu pisos va començar l’any 1996, quan els Castellers de Vilafranca van portar per primer cop a plaça el 4d10fm en la Diada de Tots Sants, tot i que el castell es va enfonsar abans de sonar gralles.

El primer intent de 4d10fm va ser en la Diada de Tots Sants del 2013, culminant una temporada fins llavors sense cap caiguda i on vam descarregar per primer cop en la nostra història el 3d10fm després d’intentar completar-lo durant 15 anys.

Van haver de passar tres anys per veure el primer 4d10fm carregat de la colla. En un 2016 on la colla ja havia descarregat prèviament tres vegades el 3d10fm, i després de repetir-lo en la primera ronda de la Diada de Sant Fèlix, vam afrontar el repte del 4d10fm, que va quedar en carregat.

No va haver de passar gaire temps fins a descarregar-lo. En el Concurs de Castells de Tarragona d’aquell mateix any vam completar el primer 4 de 10 amb folre i manilles de la colla que, juntament amb el 3d10fm descarregat i la td8 carregada, ens va fer alçar amb la victòria.