• Resolved saikiapritam

    (@saikiapritam)


    Hello

    I’m facing an error (‘Invalid rewrite rule’). It seems to show up only in the backend: Cache Settings > Cache > List of Mobile User Agents.

    Here is a screenshot of the error itself: https://pasteboard.co/4f1MnNxk8IPH.png

    I have not tweaked the list of mobile user agents, so I don’t know why this is happening. I must add that my technical knowledge is low. Any help would be appreciated.

    Best wishes
    Pritam

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

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

    (@qtwrk)

    Hi,

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

    best regards,

    Thread Starter saikiapritam

    (@saikiapritam)

    Hi qtwrk

    Thanks for the response. I have sent the report.

    Report number: NNYQOVSE
    Report date: 03/08/2022 12:15:47

    Best wishes
    Pritam

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    if you create a php file with code

    <?php preg_match( '#Mobile#', null );

    then access it from browser, does it generate any error ? either directly displays or in error log ?

    best regards,

    Thread Starter saikiapritam

    (@saikiapritam)

    Sadly, I’m not too sure how to do it. Do I need to simply paste this code at the bottom of my child theme’s functions.php file? (Screenshot: https://ibb.co/Y8GJpsV)

    Best wishes
    Pritam

    Plugin Support qtwrk

    (@qtwrk)

    no no no

    create a php file , name it like test.php

    fill it with code :

    <?php preg_match( '#Mobile#', null );

    then access it by browser,with URI like https://yourdomai.com/test.php

    does it produce any error on the page ? or in the PHP error log ?

    Mike Fitzpatrick

    (@mikefitzman)

    Hi

    I have the same problem, all mobile user agents litespeed > cache > cache > list of mobile user agents are listed as having invalid rewrite rules. I don’t know what that means, but was researching it and found this thread.

    Regards
    Mike
    liquidaudio.com.au

    Thread Starter saikiapritam

    (@saikiapritam)

    Hi qtwrk

    I see. However, I don’t know how to create a PHP file in WordPress. I tried looking on Google for a way, but I wouldn’t find a straight answer there either. Do you know a website that details the steps?

    Hi Mike

    Welcome to the thread!

    Mike Fitzpatrick

    (@mikefitzman)

    Hi Pritam

    Sorry to barge in there, just seems like the same problem I’m having!

    Mike

    Plugin Support qtwrk

    (@qtwrk)

    this seems only happens on PHP v8.1+.

    This is fixed in v4.6-a6. You can try via Toolbox: https://github.com/litespeedtech/lscache_wp/commit/3caf1e5c53a9d1f4f044ac4e089cf7eaa967271c

    Mike Fitzpatrick

    (@mikefitzman)

    Hi qtwrk

    Thanks for the update on this and yes I did just update to PHP v8.1. I’ll wait until a fix is rolled out. Appreciate your help.

    Regards
    Mike

    Thread Starter saikiapritam

    (@saikiapritam)

    Yes, even I’m on the 8.1 version. I understand that all I need to do is wait for the next plugin update.

    Many thanks for your kind help, qtwrk.

    Best wishes
    Pritam

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘‘Invalid rewrite rule’’ is closed to new replies.