Based on the page content, the error is not caused by InfinityFree’s filter.
Instead, it look slike your custom code is returning a 403, usually this is configured via .htaccess, maybe you can check that?
Search Robots are allowed and not blocked, what error are you facing?