Error accessing search

Could this be cause by me still using version 4

probably. Chances are that your host updated php to version 8.xx and BL4 is not compatible.
you can try reverting to an older version like php 7.4 (Check your CPanel). This would likely be a temporary fix though, since your host will probably discontinue offering it.

Best course is probably upgrading to BL5