Im assuming a php misconfiguration, but have been unable to fix. Error below
Note. This was run on a copy of SuiteCRM.
Install log as follows.
āā"
suitecrm:app:upgrade [-t|ātarget-version TARGET-VERSION]
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm# ./bin/console suitecrm:app:upgrade -t SuiteCRM-8.6.1
PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/suitecrm/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 134
PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/suitecrm/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 144
PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/suitecrm/vendor/symfony/http-foundation/Session/Session.php on line 131
PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/suitecrm/vendor/symfony/http-foundation/Session/Session.php on line 141
SuiteCRM Upgrade
Running: backup-original-modules
step: backup-original-modules | status: done
Successfully backed up files
Running: check-package
step: check-package | status: done
Package found in path
Running: extract-package
17:31:49 CRITICAL [console] Error thrown while running command āsuitecrm:app:upgrade -t āSuiteCRM-8.6.1āā. Message: āClass āZipArchiveā not foundā [āexceptionā => Error { ā¦},ācommandā => āsuitecrm:app:upgrade -t āSuiteCRM-8.6.1āā,āmessageā => āClass āZipArchiveā not foundā]
In PackageHandler.php line 67:
Attempted to load class āZipArchiveā from the global namespace.
Did you forget a āuseā statement?
suitecrm:app:upgrade [-t|ātarget-version TARGET-VERSION]
root@VM-Mint:/var/www/html/suitecrm#
āā"
Pointers would be much appreciatedā¦