Error message when trying to access OCS

Good day

We have been using OCS for the past 3 years without any issues. unfortunately when I tried to access the site this morning I received the following message:

Fatal error : Cannot use ‘String’ as class name as it is reserved in /home/saimm/www/www/ocs/lib/pkp/classes/core/ on line 57

Please can you assist


Hi @nazli

It sounds like the version of PHP on your server was upgraded. I’m not sure what version of OCS you are using, but you will probably need to talk to your server provider and request PHP 5.6 unless you are willing to apply some patches or fix the code at this point.


1 Like

Hi Jason

Thank you for your response, my service provider has changed the PHP version back to 5.6 and all is in order again.

Your assistance is greatly appreciated.

1 Like

This topic was automatically closed after 22 hours. New replies are no longer allowed.