OMP 1.1.1-1 - Can't edit site or press information

Hi,

I’m not able to edit site or press information, I’m getting this message in browser console:

Failed to load resource: the server responded with a status of 500 (Internal Server Error)
http://[OMP_LINK]/[PRESS]/$$$call$$$/grid/admin/press/press-grid/update-context

And this error inside apache log:

PHP Fatal error: Call to a member function getSupportedLocales() on a non-object in /var/www/[OMP]/controllers/grid/admin/press/form/PressSiteSettingsForm.inc.php on line 105, referer: http://[OMP_LINK]/[PRESS]/admin/contexts

I google it and I have found a similar problem, this one.

If I undestand correctly, this problem is already been solved.
But i’m not finding where I can download the last stable version.

Is this problem already solved?.

Best regards,

Tarcisio Pereira

Hi @Tarcisio_Pereira,

Are there any entries in your site table in the database?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher

Here is my entire table:

Hi @Tarcisio_Pereira,

Try applying this patch:
https://github.com/pkp/omp/commit/96d5f27813fe0efc1918a6767326c60b65524c41

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher
Now it’s work.
Thank you very much.

Best regards,

Tarcisio Pereira