So, I have installed the php7.4 in the openlightspeedwordpress and since then I'm seeing this issue.
I further deep dig into the issue and came out that it shows that whenever I use http to search the site it shows the error and whenever I use https:// it will load the site.
Now the issue is...