Home › Forums › Support › php8 error This topic has 4 replies, 2 voices, and was last updated 2 years, 11 months ago by David. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts April 18, 2021 at 3:29 am #1738720 Bernhard Hello, I tried to activate php 8.0 but this crashed my site (critical error). Going back to 7.4 the site is ok. How can I find out what happened? April 18, 2021 at 4:21 am #1738751 Bernhard Update: The hosting provider says: We were able to see the following error on the website https://www.tourist-in-rom.com/ when PHP 8.0 is used: (Please see private information) You may need to use mysqli_connect() instead of mysql_connect() to correct the problem. We highly recommend contacting your developer to ensure that the scripting on the website is compatible with PHP 8.0. April 18, 2021 at 5:57 am #1738824 DavidStaff Customer Support Hi there, this core trac issue provides some insight to the problem: https://core.trac.wordpress.org/ticket/51988 Main point is related to the mysql_connect() function call – which according to that trac mysql was deprecated for: mysqli Might be worth sharing that with your host. April 18, 2021 at 10:50 pm #1739673 Bernhard Now it works, thank you 🙂 April 19, 2021 at 2:36 am #1739862 DavidStaff Customer Support You’re welcome Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In