• Resolved dr4ggs

    (@dr4ggs)


    I have been seeing continual errors in lightspeed error logs:

    ReferenceErrorphp_data is not defined
    /wp-content/litespeed/js/6c49f5c3cb9d989815a1b16ca18381a2.js in ?

    ReferenceErrorCan’t find variable: php_data
    /wp-content/litespeed/js/6c49f5c3cb9d989815a1b16ca18381a2.js in global code

    There are lots of slow queries eg:
    LiteSpeed\Img_Optm->img_count()

    SELECT COUNT(*)
    FROM <code>wp_posts</code> a
    LEFT JOIN <code>wp_postmeta</code> b
    ON b.post_id = a.ID
    WHERE a.post_type = 'attachment'
    AND a.post_status = 'inherit'
    AND a.post_mime_type IN ('image/jpeg', 'image/png', 'image/gif')
    AND b.meta_key = '_wp_attachment_metadata'

    Might site has been having issues going over cpu i/o useage etc since using this plugin.

    I am not a developer. I am at a loss and this is affecting my site. Please explain how to fix.

Viewing 10 replies - 1 through 10 (of 10 total)
  • I’d suggest using a browser’s developer tools, network. See if you’re loading guest.vary.php okay.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”

    the slow query is normal , it’s backend image optimization process

    well , you can not expect zero IO or CPU when you doing image optmization in background …

    Best regards,

    Thread Starter dr4ggs

    (@dr4ggs)

    I’m still waiting on a reply to my query. I sent the report in.

    There should be no backend image optimisation occurring because this is all turned off.

    @splaquet i can’t see this code at all. I’m not sure where to look.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    once you click “send” , it will generate you a 8-letter string , please provide me that string to locate your report

    Best regards,

    Thread Starter dr4ggs

    (@dr4ggs)

    VUVQSEOM

    Plugin Support qtwrk

    (@qtwrk)

    seeing continual errors in lightspeed error logs

    where exactly did you see it ? which error log you referred to ?

    Thread Starter dr4ggs

    (@dr4ggs)

    See my first question.
    You can see these in all speed test software and logrocket software.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    yes, I saw the first post , which makes me wonder which log you referred to , because the message itself looks like something from dev tool console would show

    I just tested with GTMetrix, but didn’t see any error message as in your first post , may I know where exactly can I see it ?

    assuming it’s a JS error from dev tool console , first of all please try disable all the JS options , purge all , to see if error still shows , if that is gone , then try to narrow down which option caused and then seek how to deal with it

    Best regards,

    Thread Starter dr4ggs

    (@dr4ggs)

    I’m not a dev. How do I disable JS options and do you mean for lightspeed only?

    Is the wp-content lightspeed your plugin or lightspeed the hosting caching side?

    Some of that info would have come from query monitor

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    it should be in wp-admin -> LiteSpeed Cache -> Page Optimization -> JS options

    Best regards,

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Lightspeed Errors’ is closed to new replies.