• Resolved jules10622

    (@jules10622)


    My site uses a child theme based on Spacious. The child theme is very basic and contains only three files:

    style.css – only contains theme header info
    functions.php – only enqueues the stylesheets
    header.php – only modification from parent theme is addition of Google Fonts code in header

    This child theme has been working fine since I created it in August 2015. Today I discovered that the site was displaying as a blank page. I switched to the Spacious parent theme and the content reappeared, and it also appeared when I previewed default WordPress themes, so the issue is with the child theme.

    I have not made any changes to the child theme files in months, and when I visited my site a couple of days ago it was displaying normally.

    The Spacious parent theme is up-to-date. I’m not sure when it last updated, but I don’t think it was in the last two days.

    What could have caused the child theme to suddenly stop working? And what can I do to get it working again?

    The site is https://www.juliaspangler.com. It is currently on the parent theme, not the child theme.

Viewing 15 replies - 1 through 15 (of 21 total)
  • Hello @jules10622
    Please provide your child theme directory and file structure screen shot.

    i will check this and let you know why this is not working.
    Also please check your child theme index.php, single.php and home.php files and check is there any code in those files are they are blank.

    Thank you
    Sajid

    Thread Starter jules10622

    (@jules10622)

    Hi Sajid,

    The file structure is wp-content > themes > spacious-child.

    File screenshot can be seen here: https://www.juliaspangler.com/consulting/wp-content/uploads/2016/01/child-theme-files-screenshot.png

    The two recent modified dates are because of some troubleshooting I did before submitting this support request, but those files have both been reverted back to their original state that was working since I created the theme.

    I do not have an index.php, single.php or home.php in my child theme.

    Thank you,
    Julia

    Ok. It’s fine. Copy index.php from main theme and then place inside style sheet file and then check if this works or not. If it works then its fine else contact me at Skype. I will help u in fixing this. My Skype is [Moderated]

    Thanks
    Sajid

    Thread Starter jules10622

    (@jules10622)

    Hi Sajid,

    I don’t understand what you are recommending. Are you saying I should copy the contents of a PHP file (index.php) into a CSS file (style.css)?

    Thanks,
    Julia

    No. Create a new file index.php in shild theme folder. Then copy contents of index.php file to new index.php file. Hope u understand this. If not add me at Skype..

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Side note for a moment,

    @sajiddesigner, Please don’t ask people to contact you in any way.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @jules10622, Can you clarify what the issue is that you’re facing?
    Is the issue only a CSS one – a styling one?

    Hello Andrea
    thank you for reminding me about this. Can u please tell me how can I send private message to member in this forum. Actually Jules needs some development/coding help. And I cannot help him without sending a private message or an email.
    Thank you
    Sajid

    Thread Starter jules10622

    (@jules10622)

    Hi Andrew,

    My issue is described in my original post—my child theme that was working for six months abruptly stopped working without any intervention from me. (I did not do any manual updates or changes to any aspect of the child theme or parent theme.)

    Sajid, the benefit of the public forum is that other users who may have a similar problem can read our discussion and try the same solution.

    I followed your instructions regarding index.php and the child theme still does not work. It still shows a blank page instead of the content.

    Thanks,
    Julia

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Excuse me @jules10622 while I go off on a small tangent for a minute. I’ll try to be brief if possible. ??

    Hi @sajiddesigner and thanks for helping out in these forums. It’s good advice here that makes WordPress successful and is a big part of why 25% (and growing!) of the Internet uses WordPress for their sites.

    That all said, please refrain from trying to contact forum members outside of these forums. That is something that is actively discouraged. It has lead to abuse, harassment and other very bad things before.

    NOTE: I am not accusing you of any ill will and I do not doubt for one minute that you sincerely want to help. Honest.

    But I am sure you and Jules can appreciate that it is important that we keep these forums a safe place for all users. That includes new users as well as veteran front end developers who use WordPress for a living.

    You can ask for details such as what she has tried. You can post suggestions and walk her through the steps here in your reply. It’s not easy but again, I am sure you understand the concern.

    I now return this topic to it’s regularly scheduled support conversation. ??

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @jules10622, Yes, thank you for iterating. I’m interested in the details of what exactly you mean by “stopped working”.

    Thread Starter jules10622

    (@jules10622)

    Hi Andrew,

    By “stopped working” I mean that the content does not display on the page when the child theme is enabled.

    Thanks,
    Julia

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Okay, can you run the code from both files in this syntax highlighter: https://phpcodechecker.com/

    See if anything gets flagged up

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi Julia!

    Are there any errors in your PHP logs? Are there any console errors? What happens if you try using just a simple style.css child theme?

    Hello Julia.
    Leave all other things.
    Do as follows
    Goto file manager
    Find file wp-config.php and edit this
    Finds define(wp_debug) and set its value to true
    Goto admin panel
    Activate your child theme and browse your home page.
    This will show you all errors and warnings (if any).

    And then share errors here.

    Thank you
    Sajid

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Spacious child theme stopped working’ is closed to new replies.