Details
-
Bug
-
Resolution: Fixed
-
High
-
4.1.4, 4.2.0, 4.3.0
-
None
Description
When all the rows in a loop fail to be fetched, $inSQL is empty, and the last query (DELETE FROM ezpending_actions) will fail with a fatal error.
This comes from the "if ( $fileContentCache[$source] === false )" that doesn't do anything if fetching fails. All failing items will remain undeleted frm the DB, and the last loop will fail.
We need to figure out a proper way to handle failing URLs.