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,
@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,
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
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,