• Resolved Chad

    (@chadi)


    I had to manually delete the LS plugin today when I saw an error on my site trying to log into the admin panel, got the critical error message.

    Then, error log file shows this:

    [23-Dec-2024 14:22:24 UTC] PHP Fatal error:  Uncaught Error: Call to a member function has() on null in /home/user/public_html/wp-includes/l10n.php:1359
    Stack trace:
    #0 /home/user/public_html/wp-includes/l10n.php(1408): _load_textdomain_just_in_time('litespeed-cache')
    #1 /home/user/public_html/wp-includes/l10n.php(194): get_translations_for_domain('litespeed-cache')
    #2 /home/user/public_html/wp-includes/l10n.php(306): translate('Redis encounter...', 'litespeed-cache')
    #3 /home/user/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php(500): __('Redis encounter...', 'litespeed-cache')
    #4 /home/user/public_html/wp-content/plugins/litespeed-cache/src/object.lib.php(736): LiteSpeed\Object_Cache->set('a0720options.al...', 'a:1:{s:4:"data"...', 0)
    #5 /home/user/public_html/wp-content/plugins/litespeed-cache/src/object.lib.php(628): WP_Object_Cache->set('alloptions', Array, 'options', 0)
    #6 /home/user/public_html/wp-content/plugins/litespeed-cache/src/object.lib.php(53): WP_Object_Cache->add('alloptions', Array, 'options', 0)
    #7 /home/user/public_html/wp-includes/option.php(641): wp_cache_add('alloptions', Array, 'options')
    #8 /home/user/public_html/wp-includes/functions.php(1780): wp_load_alloptions()
    #9 /home/user/public_html/wp-includes/load.php(914): is_blog_installed()
    #10 /home/user/public_html/wp-settings.php(175): wp_not_installed()
    #11 /home/user/public_html/wp-config.php(86): require_once('/home/user/...')
    #12 /home/user/public_html/wp-load.php(50): require_once('/home/user/...')
    #13 /home/user/public_html/wp-blog-header.php(13): require_once('/home/user/...')
    #14 /home/user/public_html/index.php(17): require('/home/user/...')
    #15 {main}
    thrown in /home/user/public_html/wp-includes/l10n.php on line 1359

    When I reinstalled the plugin, the error came back and couldn’t log into the admin panel. Everything was working just fine, unchanged config for weeks until this morning. Maybe an auto update? How can I fix this? Usually, deleting plugin allows to reinstall and fix that error, not in this case.

Viewing 16 replies (of 16 total)
Viewing 16 replies (of 16 total)

The topic ‘Sudden LS Error’ is closed to new replies.