- Affected version
- 2.0.2
When running the installer with the site in debug mode, is_processing can and will hide errors when using multi-step installers*. This makes developing working installers challenging when they are just silently failing.
*Technically "The site is currently being upgraded. Please check back later" is printed, but this isn't useful.
An example of the sorts of errors I've discovered that his "feature" hides;
*Technically "The site is currently being upgraded. Please check back later" is printed, but this isn't useful.
An example of the sorts of errors I've discovered that his "feature" hides;
Code:
An exception occurred: [TypeError] Argument 1 passed to SV\xxxxx\Setup::SV\xxxxx\{closure}() must be an instance of XF\Db\Schema\Alter, instance of XF\Db\Schema\Create given, called in /var/www/sites/html/src/XF/Db/SchemaManager.php on line 163 in src/addons/SV/xxxxx/Setup.php on line 64