[TASK] Avoid: Unknown column 'pid' in 'where clause' when clicking a page in the pagetree

Resolves: #61109
[BUGFIX] Class Tx_Smoothmigration_Checks_Core_RemovedConstants_ResultAnalyzer does not exist

Resolves: #57391