Attempted upgrade failure

Keith Miller Posted in Technical Support 2 months ago

I had a working version of OSSN up and running and uploaded the new version and performed the YOUR-WEBSITE-URL/upgrade/upgrade.php command and have the following error

ParseError: syntax error, unexpected '|', expecting ';' or '{' in /var/www/html/components/OssnPhotos/classes/OssnPhotos.php:236
Stack trace:

0 /var/www/html/classes/OssnComponents.php(244): include_once()

1 /var/www/html/libraries/ossn.lib.components.php(69): OssnComponents->loadComs()

2 /var/www/html/system/start.php(39): include_once('/var/www/html/l...')

3 /var/www/html/upgrade/upgrade.php(16): require_once('/var/www/html/s...')

4 {main}

any assistance would be great

German Michael Z├╝lsdorff Replied 2 months ago

Please do as advised in
and provide the PHP version of your webserver

us Keith Miller Replied 2 months ago

Line 236 has
public function searchPhotoa($params): array | bool {