title: WordPress Timeout When Another Theme Is Activated
body: <p>I have been creating a Wordpress site for 2 months. I did lots and lots of changes. I am currently using the Astra theme. When I change the theme to another one, including the official ones like twentytwenty, the site just breaks down, never loads and gives 505 timeout error at the end.</p>
  
  <p>When it breaks down, I change the folder name of the changed theme</p>
  
  <p>from <strong>./wp-content/themes/sometheme</strong></p>
  
  <p>to <strong>./wp-content/themes/sometheme.deactive</strong></p>
  
  <p>and so, I manually deactivate the theme and then change it back to Astra from the admin panel.</p>
  
  <p>What may cause this error?</p>
  
  <p>Note: I have tried resetting the <strong>.httaccess</strong> file, change <strong>wp-admin</strong> and <strong>wp-includes</strong> folders with the original ones, <strong>deactivate</strong> all of the plugins and <strong>fix the permission issues</strong> of the folders and files via FTP. But nothing changes.</p>