[Resolved] Child Theme Making Issue

Home Forums Support [Resolved] Child Theme Making Issue

Home Forums Support Child Theme Making Issue

Viewing 15 posts - 1 through 15 (of 31 total)
  • Author
    Posts
  • #1577475
    Sourabh

    Hi,

    Almost every week due to some unknown issue my site breaking down, when I try to recover I always find its error from child theme, today I removed the entire WordPress and reinstalled it again, but again when uploaded backed up data, the problem is the same, when disabled child theme an error goes away but reactivating child theme again giving error –

    https://www.dropbox.com/s/9samq7qzi1fo06b/child%20theme%20error.png?dl=0

    https://www.dropbox.com/s/sm6unrdazrpb5by/child%20theme%20error1.png?dl=0

    Do I making any mistake related to the child theme, because I have not touched it apart from your shown way, only PHP codes which u peoples giving I am pasting in function.php and saving, apart from it I do nothing with child theme.

    I am stuck, Should I even use a child theme (Coz using CSS given by you peoples), or not ??

    Do you have any solution ??

    #1577522
    Sourabh

    At present disabled the GP main theme + Child theme and activated twenty twenty one, You can login and try to activate child theme, site will crash again, so log in see yourself and help me whats wrong ??

    #1577761
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    What do you have inside the child theme functions.php file? It’s likely something in there is coded incorrectly and causing the error.

    #1577777
    Sourabh

    I am not aware tom, I just downloaded from github, I thought u made it

    How to find out the area of problem?

    #1577787
    Tom
    Lead Developer
    Lead Developer

    You can check your error_log file for specific errors.

    Has nothing been changed in the child theme at all? No files added, no functions added?

    #1578213
    Sourabh

    I installed rank math Pro, which I have purchased recently, it was asking to add a line of PHP code in function.php so I did it, However, I don’t call it a problem of rank math because it’s common and happens each time even in every week…

    Ask Leo he has asked several times that my website is down, it was not down actually coz it was broken down and I am restoring it always from backup…Refer error email which i receive almost every week –

    https://www.dropbox.com/s/yzy69077qzofcuz/GP%20Child%20Error.png?dl=0

    And child theme which I use is below –

    https://www.dropbox.com/s/q95ffli8hk6k1j5/generatepress_child.zip?dl=0

    Now what is wrong I don’t know…

    #1578308
    Sourabh

    Hi, tom,

    I have restored it, if you wish you can have a look inside (Refer credential).

    #1578878
    Leo
    Staff
    Customer Support

    Can you replace the existing child theme with this one here?
    https://docs.generatepress.com/article/using-child-theme/#installing-a-child-theme

    The credentials you’ve provided also isn’t working for me.

    Let me know 🙂

    #1578888
    Sourabh

    I need to update all the codes again then..which I have done in child theme…

    Credentials r same..shared many times..giving again

    #1579615
    David
    Staff
    Customer Support

    Did you resolve the error with the Child Theme?
    I just checked the site and i cannot see any issues with the child theme.

    #1579622
    Sourabh

    Did you resolve the error with the Child Theme?

    Seems it was because of WordPress 5.6 update, which was installed automatically.

    I just checked the site and I cannot see any issues with the child theme.

    And its because I have restored it from backup, but it breaks each week due to some issue, dont know why..

    #1579789
    David
    Staff
    Customer Support

    If it breaks again then i would recommend you speak to your hosting provider and ask them to review their error logs – this should help pinpoint what the actual issue was.

    #1579875
    Sourabh

    Okay David, Can you suggest something like – is it mandatory to use the child theme ??

    I use CSS codes given by you, and updates are also coming from time to time still despite the child theme site is breaking ….??

    #1579876
    Sourabh

    I use hostinger web hosting..

    #1579905
    David
    Staff
    Customer Support

    The alternative to using a Child Theme for adding PHP Snippets is to use the Code Snippets plugin:

    https://wordpress.org/plugins/code-snippets/

Viewing 15 posts - 1 through 15 (of 31 total)
  • You must be logged in to reply to this topic.