• Resolved lepkov

    (@lepkov)


    Hi, The sitiation is just the same as in this thread https://ww.wp.xz.cn/support/topic/critical-error-when-memcached-enabled/

    I’ve started to get random 500 error codes after I’ve enabled WordPress Litespeed plugin’s object LSMCD cache that uses SASL. PHP version is 7.4, and the Memcached extension is enabled. WordPress 6.3.2, LiteSpeed Cache WP Plugin LiteSpeed Cache v5.7.0.1, Woocommerce 3.5.

    500 PHP Error example:

    [30-Oct-2023 22:47:27 UTC] PHP Fatal error:  Uncaught Error: Object of class WP_Error could not be converted to string in /home/xxxx/public_html/wp-content/plugins/woocommerce/templates/single-product/meta.php:37
    Stack trace:
    0 /home/xxxx/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(211): include()
    1 /home/xxxx/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1476): wc_get_template(‘single-product/…’)
    2 /home/xxxx/public_html/wp-includes/class-wp-hook.php(310): woocommerce_template_single_meta(”)
    3 /home/xxxx/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
    4 /home/xxxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    5 /home/xxxx/public_html/wp-content/plugins/woocommerce/templates/content-single-product.php(58): do_action(‘woocommerce_sin…’)
    6 /home/xxxx/public_html/wp-includes/template.php(787): require(‘/home/xxxx/…’)
    7 /home/xxxx/public_html/wp-content/plugins/woocommerce/includes/wc-c in /home/xxxx/public_html/wp-content/plugins/woocommerce/templates/single-product/meta.php on line 37

    I’ve tried to add posts,post_meta,usermeta,user_meta into no cache group – no luck.

    I would like to have more details on that issue, please. What is a problem here with php and sasl? What I can ask my hoster to do with that?

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

    (@qtwrk)

    there is a known issue with SASL , sadly despite the time and efforts we put into this issue , but we still don’t have any viable solution

    please disable object cache , or use alternative as Memcached or Redis.

    Is it possible to solve this with another solution so we can keep using the plugin?

    Plugin Support qtwrk

    (@qtwrk)

    You can use LSMCD without sasl, normal memcached or Redis

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘critical error when memcached enabled’ is closed to new replies.