It’s possible that the issue is caused by the new theme. For an immediate solution, you can rename the theme folder to disable it. Access your site via FTP or File Manager in cPanel, go to wp-content/themes
, and rename the theme folder (e.g., theme-name_old
). This will force WordPress to revert to the default theme and restore access to your site.
If you want to find the root cause of the problem, enable WordPress debugging first. Add the following lines to your wp-config.php
file:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', true);
This will display any errors directly on the site, helping you identify whether the issue is specifically related to the new theme.
-
This reply was modified 3 days, 17 hours ago by
irizweb.