• 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 15 replies - 1 through 15 (of 16 total)
  • Plugin Support litetim

    (@litetim)

    @chadi
    I am sorry for the error you get.
    Can you create a report, from LSC => Toolbox => Reports => click on “Send to Litespeed”
    And send me the report number created.

    The habbit of asking for report.
    If you are not able to login, please tell me the WP version your site run on.

    • This reply was modified 1 year, 5 months ago by litetim. Reason: clarifications
    Thread Starter Chad

    (@chadi)

    Please read my post carefully. I did mention twice that I cannot access WP admin panel when Litespeed plugin is activated, due to the error “There has been a critical error on this website.”. That’s the whole issue and point of this ticket.

    • This reply was modified 1 year, 5 months ago by Chad.
    Thread Starter Chad

    (@chadi)

    Hello,

    I’m on WP Version 6.7.1. and LS server version is 6.3.1 (build 7)

    Plugin Support litetim

    (@litetim)

    @chadi thank you!

    Looking over the WP code, it seems that the problem comes from another source.
    It overrides a WP default variable, that will be used in translation.
    Searching Google a little bit I see 2 similar situations where users had problems with older version of WPML: https://ww.wp.xz.cn/support/topic/fatal-error-with-wp-6-1/ or https://stackoverflow.com/questions/74287781/call-to-undefined-method-wp-textdomain-registryreset
    The functions are different, but they use the same class.

    Waiting on your answer 🙂

    Plugin Support litetim

    (@litetim)

    It you don’t use WPML, think about other plugin that changes/adds translation.

    If you require in depth support, you can open a ticket by sending a mail to support at litespeedtech.com with reference link to this topic

    Thread Starter Chad

    (@chadi)

    Thanks, but I do not have that plugin installed nor did. I have 17 plugins installed total (LS is uninstalled right now for obvious reasons).

    Admin and Site Enhancements (ASE)
    Akismet Anti-spam: Spam Protection
    BasePress (Premium)
    Copler Helper
    Elementor
    Elementor Pro
    Essential Addons for Elementor
    Finest Core
    Folders
    Font Awesome
    Make Section & Column Clickable Elementor
    Post Views Counter
    Rank Math SEO
    Rank Math SEO PRO
    Redux Framework
    Smartsupp Live Chat
    WPForms Lite

    Plugin Support litetim

    (@litetim)

    As far as we know there is not know error with LSC and WP 6.7.
    There is another test you can do: leave LSC enabled and disable plugin one by one, at least we rule out your plugins.

    The theme is Copler?

    Thread Starter Chad

    (@chadi)

    The theme is copler yes. All these plugins worked together for over a year. Your LS plug is the issue and stopped working 2 days ago out of nowhere.

    Plugin Support litetim

    (@litetim)

    @chadi last WP version was released 1week ago. What updated in last 2 days? What changes have been applied to server?

    Sorry to say, but we got the exact same error. No wpml used, only Loco Translate, and it’s not Loco’s fault, we verified. WordPress was updated weeks ago, no other update has been made recently. Yesterday this error showed in the log and the frontend was blocked on 503 for hours with 100% CPU on LiteSpeed server.

    Report: RJKWYLDN

    I’m really sorry, but Litespeed starts to be a true pain. Every few days it throws a 100% CPU, blocking everything. Every time we have to select “Disable all features”, leave it like that for a few minutes and then the frontend starts working again. Nothing helps. Disabling plugins, switching themes, full purge, resetting LSCache… Sometimes we need to kill the lsph processes manually on the servers terminal.

    Beside an unrelated error, only LS errors show on logs, we are a bit out of options here. Add to this the constant seemingly random purges (with all settings correct, double and triple verified), we start to question what the utility of Litespeed is… Really angry over here. Sorry for this.

    Thread Starter Chad

    (@chadi)

    Same here. Still not working. It’s specifically the LiteSpeed plugin, nothing else.

    Plugin Support litetim

    (@litetim)

    I will look into this as soon as I get from New Year holiday 🙁
    We are so sorry about the problems you encounter.

    Plugin Support litetim

    (@litetim)

    @chadi quick thing to test: can you disable Redis cache on plugin? From here: https://docs.litespeedtech.com/lscache/lscwp/cache/#object-cache

    Thread Starter Chad

    (@chadi)

    As I have mentioned a few times and specifically opened this ticket about, the plugin is not installed due to the error and inability to access admin panel when plugins IS installed.

    Plugin Support litetim

    (@litetim)

    @chadi rename from FTP(Cpanel,SSH) the file: /public_html/wp-content/advanced-cache.php to somethings else, just to have a backup of that file. It does not matter, it will be recreated if needed.

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

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