• Resolved usermambo24

    (@usermambo24)


    When I activate Guest Optimisation, the main page doesn’t display properly, sometimes it does display on PC, but not on mobile; Bearing in mind I did activate all JS Settings.

    Any help would be much appreciated.

    Thx

    Report number: RMWJSTEX

    I am getting the followings on chrome:

    (index):54 Uncaught (in promise) DOMException: Failed to execute ‘setAttribute’ on ‘Element’: ‘=”async”‘ is not a valid attribute name.
    at https://mydomain.com/:54:10389
    at Array.forEach ()
    at litespeed_load_one (https://mydomain.com/:54:10364)
    at https://mydomain.com/:54:10024
    at new Promise ()
    at litespeed_load_delayed_js (https://mydomain.com/:54:10009)

        "type" != e && d.setAttribute("data-src" == e ? "src" : e, t.getAttribute(e))

    • This topic was modified 6 months, 2 weeks ago by usermambo24.
    • This topic was modified 6 months, 2 weeks ago by usermambo24.
    • This topic was modified 6 months, 2 weeks ago by usermambo24.
    • This topic was modified 6 months, 2 weeks ago by usermambo24.
Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please go to General -> Tuning -> Guest Mode User Agents , restore to its default value and purge all.

    Thread Starter usermambo24

    (@usermambo24)

    Already on default values.

    • This reply was modified 6 months, 2 weeks ago by usermambo24.
    Plugin Support qtwrk

    (@qtwrk)

    from report, I see you added Chrome into the list , it should not

    Thread Starter usermambo24

    (@usermambo24)

    I haven’t added anything to the list, I’ve used the default list below:

    Lighthouse
    GTmetrix
    Google
    Pingdom
    bot
    spider
    PTST
    HeadlessChrome

    When I disable “Guest Optimisation” it seems to work fine, but I don’t get a good scores on pagespeed.

    I have the followings OFF:

    UCSS Inline

    CSS Combine External and Inline

    And I have the followings ON:

    JS Minify

    JS Combine

    JS Combine External and Inline

    Load JS Deferred = Deferred

    Same result for another Divi website.

    • This reply was modified 6 months, 2 weeks ago by usermambo24.
    Plugin Support qtwrk

    (@qtwrk)

    okay , please try this , edit file /wp-content/plugins/litespeed-cache/lib/guest.cls.php at line 59, you will see

    echo '[]';

    add

    error_log('mark1', 3, '/path/to/your/wp/lscwp.txt');

    after it

    then at line 65 , same [] , add

    error_log('mark2', 3, '/path/to/your/wp/lscwp.txt');

    after it

    replace /path/to/your/wp to your actual path

    let me once you have done this

    Thread Starter usermambo24

    (@usermambo24)

    I did put this path:

    /domains/mydomain.com/public_html/wp-content/lscwp.txt

    So not sure if this is correct.

    Report number: QJMIISHW

    • This reply was modified 6 months, 2 weeks ago by usermambo24.
    Plugin Support qtwrk

    (@qtwrk)

    it should be /home/xxx/domains/xxx.com/public_html/lscwp.txt

    replace first xxx to your username or user id , and xxx.com to your domain

    Thread Starter usermambo24

    (@usermambo24)

    Thank you very much for your help.

    Below is :

    Report number: FEKEAHZJ

    Plugin Support qtwrk

    (@qtwrk)

    please disable Hostinger CDN

    Thread Starter usermambo24

    (@usermambo24)

    I don’t have any Hostinger plugin installed, nor do I have any CDN.

    Plugin Support qtwrk

    (@qtwrk)

    it doesn’t need the plugin to activate Hostinger CDN

    and yes, you do , you can check the http response header, I see the HCDN cache hit , this will mess our plugin functions

    Thread Starter usermambo24

    (@usermambo24)

    No idea, I know Hostinger uses Litespeed as a cashing plugin.

    I have no clue how disable HCDN.

    Plugin Support qtwrk

    (@qtwrk)

    please contact Hostinger support then.

    but there should be an option in its dashboard though.

    Thread Starter usermambo24

    (@usermambo24)

    My bad, sorry, I dnin’t have a clue that Hostinger had a CDN, I’ve disactivated it:

    Report number: HFLBIQHJ

    Again, thank you for all your help.

    Plugin Support qtwrk

    (@qtwrk)

    I don’t see any JS error on browser console now ,please check

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Another Divi Problem’ is closed to new replies.