Steps to replicate the issue:
- Issue a Cargo query via the API or the parser function that doesn't include a WHERE clause
What happens?:
18:27:30 str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated 18:27:30 18:27:30 /workspace/src/extensions/Cargo/includes/CargoSQLQuery.php:120 18:27:30 /workspace/src/extensions/Cargo/includes/CargoSQLQuery.php:55 18:27:30 /workspace/src/extensions/Cargo/includes/api/CargoQueryAPI.php:31 18:27:30 /workspace/src/includes/api/ApiMain.php:1908 18:27:30 /workspace/src/includes/api/ApiMain.php:853 18:27:30 /workspace/src/tests/phpunit/includes/api/ApiTestCase.php:122 18:27:30 /workspace/src/extensions/Cargo/tests/phpunit/integration/api/CargoQueryAPIIntegrationTest.php:40 18:27:30 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:522