• Resolved breadf

    (@breadf)


    Noticed following server error log. Frontend is ok

    2025-09-29 13:24:03.445761 [NOTICE] [102978] [T0] [127.0.0.1:14444>103.223.122.233#APVH_www.antzracing.com:443] [STDERR] PHP Warning: Undefined array key “guest_uas” in /home/admin/domains/antzracing.com/public_html/wp-content/plugins/litespeed-cache/lib/guest.cls.php on line 126\n
    2025-09-29 13:24:03.445791 [NOTICE] [102978] [T0] [127.0.0.1:14444>103.223.122.233#APVH_www.antzracing.com:443] [STDERR] PHP Warning: Undefined array key “guest_ips” in /home/admin/domains/antzracing.com/public_html/wp-content/plugins/litespeed-cache/lib/guest.cls.php on line 137\n
    2025-09-29 13:24:03.445800 [NOTICE] [102978] [T0] [127.0.0.1:14444>103.223.122.233#APVH_www.antzracing.com:443] [STDERR] PHP Warning: Undefined array key “hash” in /home/admin/domains/antzracing.com/public_html/wp-content/plugins/litespeed-cache/lib/guest.cls.php on line 71\n

    This one is in wp-debug log:
    PHP Deprecated: Creation of dynamic property LiteSpeed\Report::$_summary is deprecated in /home/admin/domains/antzracing.com/public_html/wp-content/plugins/litespeed-cache/src/root.cls.php on line 657

    • This topic was modified 7 months, 4 weeks ago by breadf.

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

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Support litetim

    (@litetim)

    @breadf Looking into 🙂

    Plugin Support litetim

    (@litetim)

    @breadf I am trying to reproduce the issue, but I am not able to show me the errors, tested with different settings about Guest Mode.
    Can you help me with some info?

    Thread Starter breadf

    (@breadf)

    This morning I checked again. At present there is no new error about this.

    Yesterday I installed Optimization Detective, Embed Optimizer and Image Prioritizer, and Speculative Loading, Performant Translations, Instant Back/Forward, View Transitions. Then I noticed the error. I’ve deactivated all but “Instant Back/Forward, View Transitions”.

    Report number: BSTZRSGQ

    Plugin Support litetim

    (@litetim)

    @breadf ok
    Please observe if the notices will appear in the future

    Thread Starter breadf

    (@breadf)

    Ok.

    Thread Starter breadf

    (@breadf)

    Hi server logged this error again, but I didn’t notice the error in wp debug log:
    2025-10-03 15:04:17.808545 [NOTICE] [114107] [T0] [127.0.0.1:14944>66.249.73.233#APVH_www.antzracing.com:443] [STDERR] PHP Warning: Undefined array key “guest_uas” in /home/admin/domains/antzracing.com/public_html/wp-content/plugins/litespeed-cache/lib/guest.cls.php on line 126\n
    2025-10-03 15:04:17.808553 [NOTICE] [114107] [T0] [127.0.0.1:14944>66.249.73.233#APVH_www.antzracing.com:443] [STDERR] PHP Warning: Undefined array key “guest_ips” in /home/admin/domains/antzracing.com/public_html/wp-content/plugins/litespeed-cache/lib/guest.cls.php on line 137\n
    2025-10-03 15:04:17.808572 [NOTICE] [114107] [T0] [127.0.0.1:14944>66.249.73.233#APVH_www.antzracing.com:443] [STDERR] PHP Warning: Undefined array key “hash” in /home/admin/domains/antzracing.com/public_html/wp-content/plugins/litespeed-cache/lib/guest.cls.php on line 71\n

    Plugin Support litetim

    (@litetim)

    @breadf
    Is the site a multisite?
    Does the logs appear while crawler was running?

    Thread Starter breadf

    (@breadf)

    It’s not multisite
    Not sure if it appeared while crawler was running. This is the 2nd time it appeared, but I’ve manually run crawler several times.

    Plugin Support litetim

    (@litetim)

    @breadf on server FTP on path /public_html/wp-content do you have file: .litespeed_conf.dat?
    Does it have content?

    • This reply was modified 7 months, 3 weeks ago by litetim.
    Plugin Support litetim

    (@litetim)

    I was able to reproduce the logs by deleting the file OR emptying it’s content.

    Thread Starter breadf

    (@breadf)

    @litetim Yes .litespeed_conf.dat exists in /public_html/wp-content

    Below is its content:
    {"debug":0,"object-kind":true,"object-host":"\/home\/admin\/.redis\/redis.sock","object-port":0,"object-life":360,"object-user":"","object-pswd":"","object-db_id":0,"object-persistent":true,"object-admin":true,"object-transients":false,"object-global_groups":["users","userlogins","useremail","userslugs","usermeta","user_meta","site-transient","site-options","site-lookup","site-details","blog-lookup","blog-details","blog-id-cache","rss","global-posts","global-cache-test"],"object-non_persistent_groups":[]}

    Plugin Support litetim

    (@litetim)

    @breadf thank you. Let me look over the code and I will come back with some code or updates

    Plugin Support litetim

    (@litetim)

    @breadf I have looked over the code and .litespeed_conf.dat file content + report
    It seems you have Object Cache OFF so the setting will not appear.
    We should add some code to make sure the warning will not appear.

    We have in LSC => Toolbox => Beta Tab => Insert into input:
    https://github.com/timotei-litespeed/lscache_wp/commit/61a2ec0d9d008d076b00cabf820955421ee18111
    And click on Upgrate
    This is a future version, but the code contains the fix for the warning.
    Please test and tell me how is working

    Thread Starter breadf

    (@breadf)

    @litetim Thanks. I will apply this fix.

    redis object cache is on. I was using Redis Object Cache plugin and then changed to litespeed cache’s object cache according to WPML’s suggestion. Aside redis, I have APCU, not sure if this would affect this or not?

    Thread Starter breadf

    (@breadf)

    After applying there is a new log:
    [07-Oct-2025 01:08:59 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the litespeed-cache domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/admin/domains/antzracing.com/public_html/wp-includes/functions.php on line 6121

Viewing 15 replies - 1 through 15 (of 19 total)

The topic ‘Server error log Undefined array key “guest_uas”’ is closed to new replies.