Closed gregoryR closed 2 years ago
I have the exact same problem.
I will make a PR to convert all these class variable type declarations to PHPdoc.
https://www.php.net/manual/en/language.oop5.properties.php "As of PHP 7.4.0, property definitions can include Type declarations,..."
That does not work with PHP 7.3, and PHP 7.3 is still supported by the latest ownCloud core 10.11 release.
Ouch. Looks like we'll follow up with a 1.2.1 release....
Ouch. Looks like we'll follow up with a 1.2.1 release....
Release issue #527 created. That can be worked on after PR #526 has been merged.
Note: since we dropped PHP 7.3 in core master, all pipelines in oC10 app CI run with PHP 7.4.
For apps that we release to run on existing oC10 releases 10.11 and before, we need to check that the code released is valid for PHP 7.3. Probably adding a test php-code-style
pipeline on PHP 7.3 in CI will be the easiest thing to do so that we have some confidence. I will try that on the various oC10 apps.
https://github.com/owncloud/files_antivirus/releases/tag/v1.2.1 was released yesterday to fix this issue. @gregoryR @Scarchu please upgrade to 1.2.1 and see if that makes it work on PHP 7.3 again. If not, please reopen.
https://github.com/owncloud/files_antivirus/releases/tag/v1.2.1 was released yesterday to fix this issue. @gregoryR @Scarchu please upgrade to 1.2.1 and see if that makes it work on PHP 7.3 again. If not, please reopen.
Hi, sorry I may not have been clear/visible in https://github.com/owncloud/files_antivirus/pull/526#issuecomment-1324587573
But the new 1.2.1 was proposed by the web UI this morning. Even if the app was deactivated. I have updated the app and activated it
Thanks again for the quick patch !
https://github.com/owncloud/files_antivirus/releases/tag/v1.2.1 was released yesterday to fix this issue. @gregoryR @Scarchu please upgrade to 1.2.1 and see if that makes it work on PHP 7.3 again. If not, please reopen.
Yes, everything works perfectly! Thank you!
Steps to reproduce
Expected behaviour
app files_antivirus upgrades and owncloud is usable
Actual behaviour
app files_antivirus upgrades but owncloud is not usable. I get 500 errors with
"Exception":"ParseError"
The new syntax in lib/ScannerFactory.php line 32 seems requiring php 7.4 ? On Debian 10 the standard php version is 7.3
I deactivate the files_antivirus app in order to access Owncloud again
Server configuration
Operating system:
Web server:
Database:
PHP version:
ownCloud version: (see ownCloud admin page)
Updated from an older ownCloud or fresh install:
Regular updates
Where did you install ownCloud from:
https://owncloud.com/download-server/
Signing status (ownCloud 9.0 and above):
The content of config/config.php:
List of activated apps:
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP
LDAP configuration (delete this part if not used)
Doesn't seems relevant to this issue
Client configuration
Browser: Firefox
Operating system:
Logs
Web server error log
When accessing owncloud after upgrades I get 500 errors in access logs
ownCloud log (data/owncloud.log)
And specific ownloud error