Child pages
  • [install] SQL errors about missing EmailEvents table during upgrade from 5.1.x to 5.2.x
Skip to end of metadata
Go to start of metadata

When upgrading from 5.1.x to 5.2.x I'm seeing quite a few error messages like this:

Warning (#225): Table 'alex_inportal_upgrade.51x_EmailEvents' doesn't exist (1146)

    SELECT TemplateId, CONCAT(TemplateName,"_",Type) AS EventMix
    FROM 51x_EmailEvents 

 in ...\core\kernel\utility\logger.php on line 886

Each of above SQL errors were also accompanies with 10 or more warnings like this one:

Warning (#160): array_key_exists() expects parameter 2 to be array, boolean given in ...\core\units\helpers\language_import_helper.php on line 1170

This is attempt to import module language pack during upgrade before table was actually renamed. That's fine, because language pack would be imported at the end anyway.


Mediate problem by preventing queries, that would fail anyway during installation.

Related Tasks

INP-1498 - Getting issue details... STATUS