Throws PHP warning messages if we had removed content types

Created on 14 September 2022, about 2 years ago
Updated 15 September 2023, about 1 year ago

It gives lots warning messages as give below, if we try to run migrations later after removing certain content types:

[warning] array_merge(): Expected parameter 2 to be an array, null given MigrationPluginAlterer.php:137
[warning] array_unique() expects parameter 1 to be array, null given MigrationPluginAlterer.php:137
[warning] array_merge(): Expected parameter 1 to be an array, null given MigrationPluginAlterer.php:137
[warning] array_unique() expects parameter 1 to be array, null given MigrationPluginAlterer.php:137
[warning] Invalid argument supplied for foreach() MigrationPluginAlterer.php:171

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India junaidpv Kannur, Kerala

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany Anybody Porta Westfalica

    #2 works and might be good enough, alternatively an earlier return might make sense to skip this entirely if empty?

    Setting this RTBC for maintainer decision.

Production build 0.71.5 2024