Error after upgrade OJS from 2.4 to 3.1.0.1

After a sucessful upgrade every time i try to log in it appears this warning in my error log

AH01071: Got error ‘PHP message: PHP Warning: Cannot use a scalar value as an array in /var/www/vhosts/ojs3.s4e.cl/httpdocs/lib/pkp/classes/core/DataObject.inc.php on line 133\nPHP message: PHP Warning: Cannot use a scalar value as an array in /var/www/vhosts/ojs3.s4e.cl/httpdocs/lib/pkp/classes/core/DataObject.inc.php on line 133\n’, referer: http://ojs3.s4e.cl/index.php/summa/login

Also in the back end page it appears a pop-up saying:

An unexpected error has ocurred. Please reload the page and try again.

If I click the “ok” button it dissapears but some of my users can even access to their assigned submissions

Hi @miguel.obando,

The Cannot use a scalar value as an array message is discussed in this thread, along with debugging suggestions: Cannot use a scalar as an array

When you see error messages like An unexpected error has occurred, or when a user can’t access a page, check your PHP error log for details.

Regards,
Alec Smecher
Public Knowledge Project Team