Error trying execute php symfony tools:install

274 views
Skip to first unread message

Gabriel Batista da Silva Nogueira

unread,
Jul 3, 2023, 10:16:33 AM7/3/23
to AtoM Users
Hi.

I trying to execute this comand but is returning this error:
PHP Deprecated:  Creation of dynamic property sfPhing::$searchForThis is deprecated in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/Phing.php on line 281
PHP Warning:  Private methods cannot be final as they are never overridden by other classes in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/listener/AnsiColorLogger.php on line 158
[PHP Error] Return type of ConditionBase::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [line 49 of /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/ConditionBase.php]
[PHP Error] Return type of ConditionEnumeration::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [line 176 of /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/ConditionBase.php]
[PHP Error] Return type of ConditionEnumeration::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [line 184 of /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/ConditionBase.php]
[PHP Error] Return type of ConditionEnumeration::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [line 188 of /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/ConditionBase.php]
[PHP Error] Return type of ConditionEnumeration::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [line 172 of /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/ConditionBase.php]
[PHP Error] Return type of ConditionEnumeration::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [line 192 of /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/ConditionBase.php]
PHP Warning:  Private methods cannot be final as they are never overridden by other classes in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/CvsPassTask.php on line 141
PHP Fatal error:  Declaration of MatchingTask::setProject(Project $project) must be compatible with ProjectComponent::setProject($project) in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/MatchingTask.php on line 62

Deprecated: Creation of dynamic property sfPhing::$searchForThis is deprecated in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/Phing.php on line 281

Warning: Private methods cannot be final as they are never overridden by other classes in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/listener/AnsiColorLogger.php on line 158
Buildfile: /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build.xml

Warning: Private methods cannot be final as they are never overridden by other classes in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/CvsPassTask.php on line 141

Fatal error: Declaration of MatchingTask::setProject(Project $project) must be compatible with ProjectComponent::setProject($project) in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/MatchingTask.php on line 62

Someone know how I check to resolve this?

José Raddaoui

unread,
Jul 3, 2023, 12:58:57 PM7/3/23
to AtoM Users
Hi Gabriel,

This looks like a PHP version issue, check this thread where they had the same issue:


Best,
Radda.

Gabriel Batista da Silva Nogueira

unread,
Jul 4, 2023, 12:47:48 PM7/4/23
to AtoM Users
Yes, I had seen it here is in version 8.2.

Gabriel Batista da Silva Nogueira

unread,
Jul 4, 2023, 12:48:01 PM7/4/23
to AtoM Users
Thanks
Reply all
Reply to author
Forward
0 new messages