Error after creating the journal

Good morning,
I have a problem with the latest version of OJS Immediately after the installation and creation of the journal, I log in again as an administrator in the system.
Appears with an error window that I need to close three times (OK):
“An unexpected error has occurred. Please reload the page and try again.”

Later, I can work as an administrator. Unfortunately, from time to time it pops up again.
In PHP logos I have this message several times:
“[Sat Jan 13 22:30:27.692411 2018] [:error] [pid 22247] [client] PHP Parse error: syntax error, unexpected ‘{’ in /home/marekv01/domains/ on line 299, referer: - Domena utrzymywana jest w
Any ideas ?

Hi @marekv,

Check to make sure that your version of PHP meets OJS’s requirements (as described in docs/README).

Alec Smecher
Public Knowledge Project Team

Hi Alec
Indeed, I have not read this document carefully.
For PHP 5.6 everything works fine.

Thank you very much for help

Marek V.