Deprecated: DI\create(): Implicitly marking parameter $className as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/php-di/php-di/src/functions.php on line 33

Deprecated: DI\autowire(): Implicitly marking parameter $className as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/php-di/php-di/src/functions.php on line 46

Deprecated: Dotenv\Dotenv::create(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Dotenv.php on line 83

Deprecated: Dotenv\Dotenv::createMutable(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Dotenv.php on line 112

Deprecated: Dotenv\Dotenv::createUnsafeMutable(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Dotenv.php on line 129

Deprecated: Dotenv\Dotenv::createImmutable(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Dotenv.php on line 148

Deprecated: Dotenv\Dotenv::createUnsafeImmutable(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Dotenv.php on line 165

Deprecated: Dotenv\Dotenv::createArrayBacked(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Dotenv.php on line 185

Deprecated: Dotenv\Repository\RepositoryBuilder::__construct(): Implicitly marking parameter $allowList as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php on line 68

Deprecated: Dotenv\Repository\RepositoryBuilder::allowList(): Implicitly marking parameter $allowList as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php on line 247

Deprecated: Dotenv\Store\StoreBuilder::__construct(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Store/StoreBuilder.php on line 54

Deprecated: Dotenv\Store\StoreBuilder::fileEncoding(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Store/StoreBuilder.php on line 123

Deprecated: Dotenv\Store\FileStore::__construct(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Store/FileStore.php on line 42

Deprecated: Dotenv\Store\File\Reader::read(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Store/File/Reader.php on line 43

Deprecated: Dotenv\Store\File\Reader::readFromFile(): Implicitly marking parameter $encoding as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Store/File/Reader.php on line 70

Deprecated: Dotenv\Util\Str::utf8(): Implicitly marking parameter $encoding as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Util/Str.php on line 36

Deprecated: Dotenv\Util\Str::substr(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Util/Str.php on line 82

Deprecated: Dotenv\Util\Regex::replaceCallback(): Implicitly marking parameter $limit as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Util/Regex.php on line 67

Deprecated: Dotenv\Parser\Entry::__construct(): Implicitly marking parameter $value as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Parser/Entry.php on line 33

Warning: session_start(): Session cannot be started after headers have already been sent in /home/api-pw-test.ymca.one/public_html/config.php on line 57

Warning: Cannot modify header information - headers already sent by (output started at /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Store/File/Reader.php:43) in /home/api-pw-test.ymca.one/public_html/config.php on line 59

Warning: Cannot modify header information - headers already sent by (output started at /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Store/File/Reader.php:43) in /home/api-pw-test.ymca.one/public_html/config.php on line 61

Warning: Cannot modify header information - headers already sent by (output started at /home/api-pw-test.ymca.one/public_html/vendor/vlucas/phpdotenv/src/Store/File/Reader.php:43) in /home/api-pw-test.ymca.one/public_html/config.php on line 63

Deprecated: DI\Container::__construct(): Implicitly marking parameter $proxyFactory as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/php-di/php-di/src/Container.php on line 90

Deprecated: DI\Container::__construct(): Implicitly marking parameter $wrapperContainer as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/php-di/php-di/src/Container.php on line 90

Deprecated: DI\Definition\Source\ReflectionBasedAutowiring::autowire(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/php-di/php-di/src/Definition/Source/ReflectionBasedAutowiring.php on line 19

Deprecated: DI\Definition\Source\Autowiring::autowire(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/php-di/php-di/src/Definition/Source/Autowiring.php on line 22

Deprecated: DI\Definition\ObjectDefinition::__construct(): Implicitly marking parameter $className as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/php-di/php-di/src/Definition/ObjectDefinition.php on line 55

Deprecated: DI\Definition\ObjectDefinition::setLazy(): Implicitly marking parameter $lazy as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/php-di/php-di/src/Definition/ObjectDefinition.php on line 162

Deprecated: DI\Definition\Source\DefinitionArray::__construct(): Implicitly marking parameter $autowiring as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/php-di/php-di/src/Definition/Source/DefinitionArray.php on line 30

Deprecated: DI\Definition\Source\DefinitionNormalizer::normalizeRootDefinition(): Implicitly marking parameter $wildcardsReplacements as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/php-di/php-di/src/Definition/Source/DefinitionNormalizer.php on line 40

Deprecated: Slim\Psr7\Factory\StreamFactory::createStreamFromFile(): Implicitly marking parameter $cache as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/slim/psr7/src/Factory/StreamFactory.php on line 51

Deprecated: Slim\Psr7\Factory\StreamFactory::createStreamFromResource(): Implicitly marking parameter $cache as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/slim/psr7/src/Factory/StreamFactory.php on line 85

Deprecated: DI\Definition\Resolver\ParameterResolver::resolveParameters(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/php-di/php-di/src/Definition/Resolver/ParameterResolver.php on line 33

Deprecated: DI\Definition\Resolver\ParameterResolver::resolveParameters(): Implicitly marking parameter $method as nullable is deprecated, the explicit nullable type must be used instead in /home/api-pw-test.ymca.one/public_html/vendor/php-di/php-di/src/Definition/Resolver/ParameterResolver.php on line 33
405 Method Not Allowed

405 Method Not Allowed

The application could not run because of the following error:

Details

Type: Slim\Exception\HttpMethodNotAllowedException
Code: 405
Message: Method not allowed. Must be one of: OPTIONS
File: /home/api-pw-test.ymca.one/public_html/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php
Line: 79

Trace

#0 /home/api-pw-test.ymca.one/public_html/vendor/slim/slim/Slim/Routing/RouteRunner.php(56): Slim\Middleware\RoutingMiddleware->performRouting()
#1 /home/api-pw-test.ymca.one/public_html/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Slim\Routing\RouteRunner->handle()
#2 /home/api-pw-test.ymca.one/public_html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process()
#3 /home/api-pw-test.ymca.one/public_html/vendor/slim/slim/Slim/Middleware/BodyParsingMiddleware.php(64): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#4 /home/api-pw-test.ymca.one/public_html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\BodyParsingMiddleware->process()
#5 /home/api-pw-test.ymca.one/public_html/public/index.php(56): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#6 /home/api-pw-test.ymca.one/public_html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): Closure->{closure:/home/api-pw-test.ymca.one/public_html/public/index.php:31}()
#7 /home/api-pw-test.ymca.one/public_html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#8 /home/api-pw-test.ymca.one/public_html/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle()
#9 /home/api-pw-test.ymca.one/public_html/vendor/slim/slim/Slim/App.php(183): Slim\App->handle()
#10 /home/api-pw-test.ymca.one/public_html/public/index.php(131): Slim\App->run()
#11 {main}
Go Back