This topic has 14 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #165571
     Mallumo
    Participant

    After I updated themes to 4.2.7 then I got this bug or something wrong, but I don’t know how to fix it, pls help me

    #165576
     Mallumo
    Participant

    even it’s a guest have no ajax poll will face this error, css was there but it would gone 404 for few seconds.

    #165583
     Mallumo
    Participant

    Sry, forget about the second one, if there’s an admin online, then ajax poll would send out, if there’s no one was login, and then 404 will not shows up

    #165680
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #166057
     Radu
    Moderator

    Hi,

    For the missing dynamic.css file try to go to wp-admin -> theme options -> save theme options. to regenerate it.

    For the 404 error try to re-save permalinks from wp-admin -> settings -> permalinks.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #166371
     Mallumo
    Participant

    I tried these solution, but it doesn’t work

    #166563
     Radu
    Moderator

    I see,

    In this case, try to do the next, I still not work please provide admin credentials and let me know

    Try to delete the dynamic file manually from wp-content/themes/kleo/custom_styles/dynamic.css then go to wp-admin -> theme options -> and save settings check again if it’s the same provide login details.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #166720
     Mallumo
    Participant

    username:testuser
    password:VAzfKRMw%4Aet

    thanks

    #167014
     Radu
    Moderator

    Hi,

    There it’s something specific to make?

    I cannot see the loading problem of dynamic.css

    VIDEO : https://drive.google.com/file/d/0Bxo5b6iHWRMweW55emJYMUplcUE/view

    Let me know if I should something specific.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #167017
     Mallumo
    Participant

    Yep, If you open too much pages and every pages separate for 2 seconds or there’s many admin online would cause this problem.
    example: https://destinygamer.cn/news/10408 (have to be login)

    #167183
     Radu
    Moderator

    Hi,

    See after many refreshes the CSS from dynamic.css was loaded in the provided link in the first instance the CSS was missing.

    Please add this code to your child theme functions.php

    COPY CODE
    
    function sq_print_inline_css() {
    	add_action( 'wp_head', 'kleo_custom_head_css' );
    	remove_action( 'wp_enqueue_scripts', 'kleo_load_dynamic_css', 22 );
    }
    add_action('init', 'sq_print_inline_css');
    

    Let me know if you still encounter the issue.

    The theme it generates the file but somehow the server prevents file to be displayed sometimes, can you ask on the hosting support a error log maybe in that are some hints.

    Personally, i think it’s a permission problem but it;s odd.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #167189
     Mallumo
    Participant

    Well, I asked about this, he said we were hosted on own vps, and php error log didn’t show any issue about this

    #167190
     Mallumo
    Participant

    [attachment file=167191]

    #167195
     Mallumo
    Participant

    [attachment file=167196]

    [attachment file=167197]

    #167314
     Radu
    Moderator

    I see,

    That’s ODD, using the snippet provided in my previous reply the issue persists or it’s fixed?

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 15 posts - 1 through 15 (of 15 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?