[BUG] Outdated Database query used in the CmsLayout.php
I found one issue which might create an issue with the latest version of TYPO3. I noticed, there is single SQL used which is pretty old school. Please change this to Doctrine standard SQL.
Here is the issue: https://gitlab.com/sanjay_nitsan/site_default/blob/master/Classes/Hooks/CmsLayout.php#L164-172
Thank you!