A database error when upgrading to OJS from OJS


Errors occurred during installation:

A database error has occurred: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'iconssid_ojs519.email_templates_data' doesn't exist (SQL: UPDATE email_templates_data SET body=REPLACE(body, '{$submissionLayoutUrl}', '{$submissionUrl}'))

It appears other users are experiencing a similar database error when upgrading to (see Problem with upgrading to OJS

I have the exact same error when upgrading from the same version. It looks like the db updater is expecting a 3.2 DB and not finding several fields

how to solve this error ? can you help