database - HELP $q=mysql_query($sel) or die(mysql_error()) HELP

admin2025-06-06  0

My website is crashing on this line of code. It happened after we updated to the latest version of WordPress. It hadn't been updated for the previous 5 years. So its not surprising. I'm new to WordPress so I have no idea how to fix. HELP HELP HELP

My website is crashing on this line of code. It happened after we updated to the latest version of WordPress. It hadn't been updated for the previous 5 years. So its not surprising. I'm new to WordPress so I have no idea how to fix. HELP HELP HELP

Share Improve this question asked Nov 2, 2018 at 19:18 JaywJayw 1 2
  • 1 This is not necessarily a WordPress issue per se, but an underlying PHP one. The original MySQL extension was deprecated in PHP 5.5 and removed completely in PHP 7. – MrWhite Commented Nov 2, 2018 at 19:34
  • @MrWhite is right, you should upgrade your server/hosting. the minimum is MySQL version 5.6 or greater OR MariaDB version 10.0 or greater. See requirements: wordpress/about/requirements – Remzi Cavdar Commented Nov 2, 2018 at 20:43
Add a comment  | 

1 Answer 1

Reset to default 0

This is more like a server problem, it seems like your server is very old. WordPress requirements change over time to stay up to date and provide a fast and stable experience and also more features.

As of this post, the WordPress server (minimum) requirements are the following:
PHP 5.2.4+
MySQL 5.0+

Recommended is:
PHP version 7.2 or greater.
MySQL version 5.6 or greater OR MariaDB version 10.0 or greater.
HTTPS support

See documentation: https://wordpress/about/requirements/

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749210356a317285.html

最新回复(0)