Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project not work under PHP 8.1 #53

Open
sasha2002 opened this issue Sep 6, 2022 · 2 comments
Open

Project not work under PHP 8.1 #53

sasha2002 opened this issue Sep 6, 2022 · 2 comments

Comments

@sasha2002
Copy link

2022/09/06 21:25:29 [error] 29485#29485: *9 FastCGI sent in stderr: "PHP message: PHP Fatal error:  During inheritance of IteratorAggregate: Uncaught ErrorException: Return type of PHPixie\Config\Storages\Type\File::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/PROJECT/vendor/phpixie/config/src/PHPixie/Config/Storages/Type/File.php:83
Stack trace:
#0 /var/www/PROJECT/vendor/phpixie/debug/src/PHPixie/Debug/Handlers.php(33): PHPixie\Debug\Handlers->handleError()
#1 /var/www/PROJECT/vendor/phpixie/config/src/PHPixie/Config/Storages/Type/File.php(5): PHPixie\Debug\Handlers->PHPixie\Debug\{closure}()
#2 /var/www/PROJECT/vendor/composer/ClassLoader.php(571): include('...')
#3 /var/www/PROJECT/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#4 /var/www/PROJECT/vendor/phpixie/config/src/PHPixie/Config/Storages.php(18): Composer\Autoload\ClassLoader->loadClass()
#5 /var/www" while reading response header from upstream, client: IP, server: PROJECT, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", host: "PROJECT"
USER # ./console framework:database drop
ErrorException: Optional parameter $path declared before required parameter $value is implicitly treated as a required parameter

6  {
7      public function remove($path = null);
>>     public function set($path = null, $value);
9      public function slice($path = null);
10 }

@Shwethamn8
Copy link

Hi Please let me know if you are able to migrate it to php8.1? is Phpixie compatible with php8?

@ftw-soft
Copy link
Contributor

ftw-soft commented Oct 9, 2023

I'm afraid that this project is not maintaining anymore. The last commit was 6 years ago and I doubt that this gonna change in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants