My website is down because the Mindig premium theme I use on it is out of date. The website now shows the following, Fatal error : __autoload() is no longer supported, use spl_autoload_register() instead in /home3/trenddy3/public_html/wp-includes/compat.php on line 502
This error indicates that your WordPress theme is using outdated code. Specifically, the __autoload() function, which was removed in PHP 7.2 and later, is still being used in your site’s code. Since the theme is no longer available on Envato, you may need to hire a developer to fix the issue. However, if you have PHP expertise, you can try the following steps: navigate to the theme folder, locate any instances of the __autoload() function in the theme files, and replace it with spl_autoload_register()