SELECT rd_from, page_id FROM redirect LEFT JOIN page ON rd_from = page_id WHERE page_id IS NULL;
The above query should never return a row, but it does - redirect table contains rows with inexistent pages, thus the table is apparently during some action(s) not being updated.
Redirect tables should be cleaned up after fix as well by deleting of improper entries.
Version: unspecified
Severity: normal