• Hello,

    When I do the latest update to Autoptimize(2.4.1), my website gives me a 502 error. After some troubleshooting, I see that this occurs when I check off the ‘Optimize CSS Code’ in the settings panel. I noticed that the site is fine if I don’t use my style.css in the child theme.

    I also tried hiding the code below in the functions.php file, but it is getting rid of all my CSS in the style.css child theme file:

    add_filter( ‘x_enqueue_parent_stylesheet’, ‘__return_true’ );

    Please let me know how this can be resolved, so that my CSS can still be optimized and uses the style.css in the child theme.

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

The topic ‘Autoptimize CSS creating 502 error – style.css in child theme’ is closed to new replies.