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
Please do as advised in https://www.opensource-socialnetwork.org/wiki/view/1101/how-to-report-a-bug-error-issue
CASE A
and provide the PHP version of your webserver
Line 236 has
public function searchPhotoa($params): array | bool {
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)