Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
The issue is occurring because of the older version of PHP (7.2.34) installed on your server. We recommend updating to at least version 8.0 because anything below that has reached its end of life: https://www.php.net/supported-versions.php
If you are not familiar with this you can ask assistance to your hosting provider as they will be able to update that which will sort out the issue.
Let us know how it goes. Looking forward to helping you.
Thank you.

Thanks. what about the above? my website redirects to random urls. It is a newly built website. Thanks
Hello,
We’ve checked your website again and even without the Rank Math plugin, your homepage is getting redirected to some random page.
It looks like your website got infected by some malware or hijacked by some malicious code.
We recommend that you do a complete security audit on the website and hire a professional developer if you don’t know exactly how to do that.
You can also check this article on how to secure your WordPress website:
https://mythemeshop.com/blog/wordpress-security-tips/
Please don’t hesitate to let us know if you have any other questions.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.