Problem with adding keyword in OMP 3.3.0-13 (T_DOUBLE_ARROW)

Hi everybody,

When i try add new keyword to OMP 3.3.0-13 i get the message:
An unexpected error has occurred. Please reload the page and try again.

in the error.log I have only one entry

[Tue Apr 18 17:44:46.499060 2023] [php7:error] [pid 15560] [PHP Parse error: syntax error, unexpected ‘=>’ (T_DOUBLE_ARROW), expecting ‘)’ in /var/www/monography/api/v1/vocabs/ on line 57, referer: …

How it can be solved?

Hi @karwas,

Thanks for reporting! I’ve flagged and fixed the issue: [OMP] Error when trying to insert keyword · Issue #8932 · pkp/pkp-lib · GitHub, you can apply the changes I did there (pkp/pkp-lib#8932 Updated code to be compatible with PHP 7.3 and fixed… by jonasraoni · Pull Request #1394 · pkp/omp · GitHub) or wait for the next release (3.3.0-15), which is going to happen in a couple of weeks.

Jonas Raoni

Hi @jonasraoni,
thanks for your information. It work!

1 Like