When trying to install [[ https://www.mediawiki.org/wiki/Extension:PageImages | PageImages ]] on a wiki with Cargo, Cargo seems to break the functionality of PageImages. PageImages isn't able to select and store images and when the PageImage maintenance script `initImageData.php` is run, the following errors are returned:
```
PHP Notice: Undefined variable: offsetStr in /apps/mediawiki/htdocs/extensions/Cargo/includes/parserfunctions/CargoCompoundQuery.php on line 87
PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /apps/mediawiki/htdocs/extensions/PageImages/includes/ParserFileProcessingHookHandlers.php on line 123
PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /apps/mediawiki/htdocs/extensions/PageImages/includes/ParserFileProcessingHookHandlers.php on line 123
PHP Notice: Undefined variable: offsetStr in /apps/mediawiki/htdocs/extensions/Cargo/includes/parserfunctions/CargoCompoundQuery.php on line 87
PHP Notice: Undefined variable: offsetStr in /apps/mediawiki/htdocs/extensions/Cargo/includes/parserfunctions/CargoCompoundQuery.php on line 87
PHP Notice: Undefined variable: offsetStr in /apps/mediawiki/htdocs/extensions/Cargo/includes/parserfunctions/CargoCompoundQuery.php on line 87
PHP Notice: Undefined variable: offsetStr in /apps/mediawiki/htdocs/extensions/Cargo/includes/parserfunctions/CargoCompoundQuery.php on line 87
PHP Notice: Undefined variable: offsetStr in /apps/mediawiki/htdocs/extensions/Cargo/includes/parserfunctions/CargoCompoundQuery.php on line 87
PHP Notice: Undefined variable: offsetStr in /apps/mediawiki/htdocs/extensions/Cargo/includes/parserfunctions/CargoCompoundQuery.php on line 87
PHP Notice: Undefined variable: offsetStr in /apps/mediawiki/htdocs/extensions/Cargo/includes/parserfunctions/CargoCompoundQuery.php on line 87
PHP Notice: Undefined variable: offsetStr in /apps/mediawiki/htdocs/extensions/Cargo/includes/parserfunctions/CargoCompoundQuery.php on line 87
PHP Notice: Undefined variable: offsetStr in /apps/mediawiki/htdocs/extensions/Cargo/includes/parserfunctions/CargoCompoundQuery.php on line 87
PHP Notice: Undefined variable: offsetStr in /apps/mediawiki/htdocs/extensions/Cargo/includes/parserfunctions/CargoCompoundQuery.php on line 87
```
Perhaps this is an issue with PageImages rather than Cargo?
Version info:
MW: 1.31.0
PHP: 7.0.30
Cargo: 2.0-rc1
PageImages: REL1_31