• Resolved ssamioglu

    (@ssamioglu)


    Dear all,

    from the begining of this year my page started to be loaded incorrectly. first I blame the onesignal plugin because of the errors on the chrome inspect section. Tried to fix it. But recently I have realized on my error log, ever minute litespeed creates errors like shown as below;

    /wp-content/plugins/litespeed-cache/src/error.cls.php on line 169,152,136,75

    can somebody help me please?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    there should be more information in error log ?

    and also please state what/how exactly was it loaded “incorrectly” ? like page in blank ? bad shape ? no style ? or something more descriptive than “incorrectly” ?

    Best regards,

    Thread Starter ssamioglu

    (@ssamioglu)

    @qtwrk please find attached files as screenshots https://imgur.com/a/tK2Jxuc

    and unfortunately in the error log there was no more explanation ??

    But I can sent entire litespeed debuglog if needed..

    Regards,
    Sertac

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I mean , shouldn’t there be more lines to the error log instead of only shows “/wp-content/plugins/litespeed-cache/src/error.cls.php on line 169,152,136,75”

    I’ve never seen php error log out in such way though…

    and I am sorry I am not sure what am I supposed to be looking at the screenshot

    please do me a side-by-side comparison and mark where the issue is

    Best regards,

    Thread Starter ssamioglu

    (@ssamioglu)

    Hi,

    in the screen shot the primary menu and secondary menu collapse together which is incorrect, second screenshots shows the empty area which shouldnt be there,

    and error log contains;

    “/wp-content/plugins/litespeed-cache/src/error.cls.php on line 169”
    “/wp-content/plugins/litespeed-cache/src/error.cls.php on line 152”
    “/wp-content/plugins/litespeed-cache/src/error.cls.php on line 136”
    “/wp-content/plugins/litespeed-cache/src/error.cls.php on line 75”

    this is all I see and know..

    ? am sorry to be able to describe more to make it clear, but this is what I am facing..

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    emmmm , I still can’t believe the log only shows up like that

    it usually should show like

    [30-Dec-2020 14:22:19 UTC] PHP Warning: strpos() expects parameter 1 to be string, array given in /xxx/wp-content/plugins/litespeed-cache/src/optimize.cls.php on line 232

    Thread Starter ssamioglu

    (@ssamioglu)

    Sorry qtwrk my mistake here is the all ??

    PHP Warning: strpos() expects parameter 1 to be string, array given in xxx/wp-content/plugins/litespeed-cache/src/error.cls.php on line 70
    PHP Warning: strpos() expects parameter 1 to be string, array given in xxx/wp-content/plugins/litespeed-cache/src/error.cls.php on line 127
    PHP Warning: substr() expects parameter 1 to be string, array given in xxx/wp-content/plugins/litespeed-cache/src/error.cls.php on line 143
    PHP Warning: Illegal offset type in isset or empty in xxx/wp-content/plugins/litespeed-cache/src/error.cls.php on line 160

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    okay

    please edit file /wp-content/plugins/litespeed-cache/src/error.cls.php

    at line 40, you will see

    switch ( $code ) {

    add this 3 lines below it

    error_log("\nstart_mark\n","3","xxx/lscwp.log");
    error_log( print_r($code, TRUE) ,"3","xxx/lscwp.log");
    error_log("\nend_mark\n","3","xxx/lscwp.log");

    change the path xxx/lscwp.log where xxx to be same path as your wp-config.php

    then trigger the error again , then please post the content of lscwp.log

    Best regards,

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I’m going to mark this topic “Resolved”, due to lack of activity.

    If you still need help, please feel free to re-open it.

    When re-open it, please also change the topic status to “not solved”

    Best regards,

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Litespeed Loads Pages Incorrectly’ is closed to new replies.