HTTP 500 Error when activating child theme

Home Forums GovIntranetters HTTP 500 Error when activating child theme

Viewing 3 reply threads
  • Author
    Posts
    • #2678
      Luke Oatham
      Keymaster

      I’m wanting to create a child theme for our GovIntranet installation. I have set up the minimum WordPress requirements for a child theme (folder created, style.css file with requisite comment). I can see it as an available theme in the WordPress Manage Themes page. When I activate the child theme in the WordPress Manage Themes page I get an internal server 500 error on any page of the site. I tried adding a blank functions.php file. Same error message. I am able to fix it by using a MySQL GUI to change the theme back to the original. I have tried enqueuing the parent style.css and the style.css from my child theme in functions.php and get the error as well. Is there something else I need to enqueue?

      I am running GovIntranet Theme Version 4.27.4 and WordPress version 4.6. PHP 7.05 on Windows Server 2008R2 using IIS 7.5.

    • #2679
      Stuart Brameld
      Participant

      following with interest, as we’re looking to do the same

    • #2692
      Luke Oatham
      Keymaster

      V4.28 should now support child themes!

      I’ve tested this with just a style.css file in the child theme.

      Please let me know how you get on with this.

    • #2721
      Luke Oatham
      Keymaster

      I updated to V4.30.1 and was able to activate a child them with only a blank style.css file in the child theme. Thank you! Interesting to me is that I was expecting with a blank style.css file in the child theme that it would only use the default browser stylesheets. But it pulled in the parent styles without having to enqueue them or do an @import in the child theme style.css. That works for me!

      Sorry that it has taken so long to reply to the thread. In the US here we’ve had a holiday and I’ve been trying to catch up on all my duties.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.