Deprecated: Return type of Slim\Helper\Set::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/framework/Helper/Set.php on line 183
Deprecated: Return type of Slim\Helper\Set::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/framework/Helper/Set.php on line 188
Deprecated: Return type of Slim\Helper\Set::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/framework/Helper/Set.php on line 193
Deprecated: Return type of Slim\Helper\Set::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/framework/Helper/Set.php on line 202
Deprecated: Return type of Slim\Helper\Set::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/framework/Helper/Set.php on line 211
Deprecated: Return type of Slim\Middleware\Flash::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/framework/Middleware/Flash.php on line 180
Deprecated: Return type of Slim\Middleware\Flash::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/framework/Middleware/Flash.php on line 190
Deprecated: Return type of Slim\Middleware\Flash::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/framework/Middleware/Flash.php on line 198
Deprecated: Return type of Slim\Middleware\Flash::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/framework/Middleware/Flash.php on line 207
Deprecated: Return type of Slim\Middleware\Flash::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/framework/Middleware/Flash.php on line 217
Deprecated: Return type of Slim\Environment::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/framework/Environment.php on line 194
Deprecated: Return type of Slim\Environment::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/framework/Environment.php on line 206
Deprecated: Return type of Slim\Environment::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/framework/Environment.php on line 214
Deprecated: Return type of Slim\Environment::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/framework/Environment.php on line 224
Slim Framework PHP 7.4 Compatibility Fixer
Fixing: /src/framework/Http/Response.php
⚠ No changes needed
Fixing: /src/framework/Helper/Set.php
⚠ No changes needed
Fixing: /src/framework/Middleware/Flash.php
⚠ No changes needed
Fixing: /src/framework/Environment.php
⚠ No changes needed
Fixing: /src/drivers/Views/Weed.php
⚠ No changes needed
Manual Fix Instructions
If the automatic fixes don't work, manually add #[\ReturnTypeWillChange] before these methods:
- offsetExists
- offsetGet
- offsetSet
- offsetUnset
- count
- getIterator
Example Fix for /src/framework/Http/Response.php line 451:
Change this:
public function offsetExists($offset)
To this:
#[\ReturnTypeWillChange]
public function offsetExists($offset)
Deprecated: Return type of spark\drivers\Views\Weed::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/drivers/Views/Weed.php on line 514
Deprecated: Return type of spark\drivers\Views\Weed::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/drivers/Views/Weed.php on line 520
Deprecated: Return type of spark\drivers\Views\Weed::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/drivers/Views/Weed.php on line 525
Deprecated: Return type of spark\drivers\Views\Weed::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/drivers/Views/Weed.php on line 534
Deprecated: Return type of spark\drivers\Views\Weed::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mycoolbi/jingletree.com/src/drivers/Views/Weed.php on line 542
Slim Application ErrorSlim Application Error
The application could not run because of the following error:
Details
Type: Exception
Message: Sessions are required to use the CSRF Guard middleware.
File: /home/mycoolbi/jingletree.com/src/middlewares/CsrfGuard/CsrfGuard.php
Line: 60
Trace
#0 [internal function]: spark\middlewares\CsrfGuard\CsrfGuard->check()
#1 /home/mycoolbi/jingletree.com/src/framework/Slim.php(1216): call_user_func_array(Array, Array)
#2 /home/mycoolbi/jingletree.com/src/framework/Slim.php(1356): Slim\Slim->applyHook(&
#039;slim.before&
#039;)
#3 /home/mycoolbi/jingletree.com/src/framework/Middleware/Flash.php(85): Slim\Slim->call()
#4 /home/mycoolbi/jingletree.com/src/framework/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#5 /home/mycoolbi/jingletree.com/src/middlewares/CsrfGuard/CsrfGuard.php(47): Slim\Middleware\MethodOverride->call()
#6 /home/mycoolbi/jingletree.com/src/framework/Middleware/PrettyExceptions.php(67): spark\middlewares\CsrfGuard\CsrfGuard->call()
#7 /home/mycoolbi/jingletree.com/src/framework/Slim.php(1308): Slim\Middleware\PrettyExceptions->call()
#8 /home/mycoolbi/jingletree.com/index.php(4): Slim\Slim->run()
#9 {main}