• My WordPress sites have suddenly become very slow. They take over a minute to load.
    If I disable my child theme, they load in half a second, so I guess that’s where the problem is, but I don’t know how to fix it.
    Can anyone help me with this?

    I’m using the twentyseventeen theme.
    My child theme folder contains a style.css file and a functions.php file with this in it:

    <?php
    add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
    function my_theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
    }

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Please provide a link to a page on your site where we can see this. Thanks.

    Thread Starter linushallstrom

    (@linushallstrom)

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I get a timing of 31 seconds to the first byte. Please revert your theme to 2017. What other files do you have in the child?

    Thread Starter linushallstrom

    (@linushallstrom)

    I disabled the child theme on both of my sites.
    One of them works fine now, but this one is still slow, and things are not working properly.

    I looked in the error log, and it’s full of this:

    PHP Warning: Unknown: Failed to write session data (memcached). Please verify that the current setting of session.save_path is correct

    What does that mean?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    The error indicates that caching is not correctly configured.

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If that doesn’t help, please contact your host.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Super slow with child theme’ is closed to new replies.