I can't upgrade at all my osj 2.4.8 to 3.2 or 3.1 or 3.0

Describe the issue or problem
Please tell us what happens and what you expected to happen.
I got a website in version 2.4.6 and i want to put it in the latest version so first at all i put it in 2.4.8-5 without problems i tested it all correct .

But when i try to upgrade to any version of 3 my upgrading stops and i got the same mistake :

[code: Installer Installer::migrateUserRoles]
PHP Warning: Cannot use a scalar value as an array in /var/www/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133

TL;DR:
OJS 2.4.8-5 > OJS 3.2.1-4 > OJS 3.3.0-14

You have a detailed explanation in the “How to upgrade” documentation:
https://docs.pkp.sfu.ca/dev/upgrade-guide/en/#upgrading-from-2x

If you want to make visible the suplementary files, you will probably add an extra pit-stop in last OJS 3.1 (check this post).

Cheers,
m.

First at all thank you for helping me .
I tried it already but I still get the error when I tried to go ojs 3.2.1-4 this error :

[code: Installer Installer::migrateUserRoles]
PHP Warning: Cannot use a scalar value as an array in /var/www/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133 I don’t know if it is a problem with my database or something else because when I tried to update a new OJS 2.4.8-5 with a new database to 3.2.1-4 it works