Try changing your account php version. You can do that by logging into your cPanel account, the search for PHP or MultiPHP. See what default version is currently configured and try switching that to a different version. Test your website again and see if it works or not. If you get the same error, then you should contact your hosting provider since they're pretty much the only ones who can actually help
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.