• Resolved diana_levy

    (@diana_levy)


    My Customizr child is broken…but not completly broken
    Yesterday was working well and suddenly….
    It renders the header and the logo, but no menus, no content, no footer…just the logo and the css seems to be fine.

    I did went to admin-panel, everthing on there is working fine.
    I did switched themes, activated the parent customizr, which works well, activated the twenty-fourteen wich works ok…. I wen back to the child to find the problem is just in the Customizr child.

    My console shows me: Failed to load resource: the server responded with a status of 500 (Internal Server Error)

    Im using wpengine…went to them but no error by their side…in debugging the guy from wpengine gave me this:

    [08-Oct-2015 16:22:18 UTC] Use Google Libraries: Not yet qualified with this version of WordPress. Bypassing UGL.
    [08-Oct-2015 16:22:19 UTC] PHP Warning: in_array() expects parameter 2 to be array, string given in /nas/wp/www/cluster-40941/tr…ts/class-header-nav_walker.php on line 30
    [08-Oct-2015 16:22:19 UTC] PHP Fatal error: [] operator not supported for strings in /nas/wp/www/cluster-40941/trackitgb/wp-content/themes/customizr/inc/parts/class-header-nav_walker.php on line 31

    I’ve dissabled the Use Google Libraries plugin but anything happens

    This is so far what I’ve tried…I’ll appreciate any help cause I dont know what may cause that behavior
    My site is in: https://nessus.software/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The site looks good (normal) on my end. The rendering problem sounds like flash of unstyled content (FOUC) that usually happens when the internet connection is way too slow.

    Thread Starter diana_levy

    (@diana_levy)

    @paulwpxp Many thanks for taking a look.
    I went on this all day long, it seems that is a problem related to the server
    I have another site: trackit.software In the same server, that has experiencing the same issue a couple of hours ago, then it came back and now its broken again.
    But as I’ve told you it seems to be a server issue, not a theme issue

    Thanks For answering, by now i’l mark this topic as resolved, but still many doubts in my head

    Hey now that I see your other site, I can confirm that it’s not the case of FOUC, the site only loads logo and stopped loading the nav, so obviously it has something to do with the PHP error you posted above.

    Marked for Developers to take a look.

    Does this happen just with your child-theme? What do you have in it?
    Any copy of the parent theme files in your child-theme? Can you try removing them, if any?
    Also what you have in your child-theme functions.php?
    I suppose you already tried disabling your plugins, right?

    Thread Starter diana_levy

    (@diana_levy)

    @d4z_c0nf
    Yes to everything you suggested!
    I start by erasing the functions.php, after that, the includes with my custom modifications for my child, until the only file I let on server was the style.css…Nothing happened!

    Then I’ve continued by disabling plugins…with no results.
    After that I’ve changed the child theme and activated the parent…voila!!! the parent works fine, but what is very strange to me is… taking a look on this:

    [08-Oct-2015 16:22:19 UTC] PHP Fatal error: [] operator not supported for strings in /nas/wp/www/cluster-40941/trackitgb/wp-content/themes/customizr/inc/parts/class-header-nav_walker.php on line 31
    Is a file that looks in the parent theme, so why is that broken in my child but not in my parent?
    As I said before, many many doubts, just thinking is just an issue in the server, but the problem still has broken one of my sites.

    Hello,
    actually that error makes sense, but I don’t know why it happens.
    There should be something which changes a parameter which is usually an array to a string. Maybe your child theme does that change.
    Dunno what you have in it.
    Anyway you can try changing the parent files according to this fix ->
    https://github.com/presscustomizr/customizr/pull/348/files

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Theme:Customizr] Child-theme renders only the header and logo’ is closed to new replies.