• Hi,

    I know this topic is redundant but I really want to use this plugin because of its simplicity. May main problem is that our WordPress site encounters a critical error when the object-cache.php is copied to the wp-content folder. I have installed the following prerequisites:

    Memcached – I followed the instructions in the Digital Ocean website (https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-memcached-on-ubuntu-22-04). Our Memcached has an authorized user and password.

    PECL memcache 8.0 extension – I installed this using php-pear/php-dev, config-set php_ini to php.ini, and added extension:memcache.so to php.ini.

    ZLIB compression in php.ini is set to off since it conflicts with WP Super Cache.

    I followed the rest of the installation instructions to no avail.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Andrija Vučinić

    (@aidvu)

    > May main problem is that our WordPress site encounters a critical error when the object-cache.php is copied to the wp-content folder.

    Could you please paste me the php error log?

    Thread Starter noeyx

    (@noeyx)

    Nov 23 11:40:37 library systemd-memcached-wrapper[14570]: <24 new binary client connection.
    Nov 23 11:40:37 library systemd-memcached-wrapper[14570]: <24 Read binary protocol data:
    Nov 23 11:40:37 library systemd-memcached-wrapper[14570]: <24 0x61 0x64 0x64 0x20
    Nov 23 11:40:37 library systemd-memcached-wrapper[14570]: <24 0x55 0x50 0x53 0x45
    Nov 23 11:40:37 library systemd-memcached-wrapper[14570]: <24 0x4c 0x69 0x62 0x72
    Nov 23 11:40:37 library systemd-memcached-wrapper[14570]: <24 0x61 0x72 0x79 0x53
    Nov 23 11:40:37 library systemd-memcached-wrapper[14570]: <24 0x74 0x61 0x66 0x66
    Nov 23 11:40:37 library systemd-memcached-wrapper[14570]: <24 0x3a 0x31 0x36 0x36
    Nov 23 11:40:37 library systemd-memcached-wrapper[14570]: Invalid magic: 61
    Nov 23 11:40:37 library systemd-memcached-wrapper[14570]: <24 connection closed.
    Nov 23 11:40:38 library systemd-memcached-wrapper[14570]: <24 new binary client connection.
    Nov 23 11:40:38 library systemd-memcached-wrapper[14570]: <24 Read binary protocol data:
    Nov 23 11:40:38 library systemd-memcached-wrapper[14570]: <24 0x67 0x65 0x74 0x20
    Nov 23 11:40:38 library systemd-memcached-wrapper[14570]: <24 0x55 0x50 0x53 0x45
    Nov 23 11:40:38 library systemd-memcached-wrapper[14570]: <24 0x4c 0x69 0x62 0x72
    Nov 23 11:40:38 library systemd-memcached-wrapper[14570]: <24 0x61 0x72 0x79 0x53
    Nov 23 11:40:38 library systemd-memcached-wrapper[14570]: <24 0x74 0x61 0x66 0x66
    Nov 23 11:40:38 library systemd-memcached-wrapper[14570]: <24 0x3a 0x5f 0x3a 0x77
    Nov 23 11:40:38 library systemd-memcached-wrapper[14570]: Invalid magic: 67
    Nov 23 11:40:38 library systemd-memcached-wrapper[14570]: <24 connection closed.
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 new binary client connection.
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 Read binary protocol data:
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 0x67 0x65 0x74 0x20
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 0x55 0x50 0x53 0x45
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 0x4c 0x69 0x62 0x72
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 0x61 0x72 0x79 0x53
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 0x74 0x61 0x66 0x66
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 0x3a 0x5f 0x3a 0x77
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: Invalid magic: 67
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 connection closed.
    Nov 23 11:40:41 library php: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/wordpress-live/wp-content/object-cache.php on line 176
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 new binary client connection.
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 Read binary protocol data:
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 0x67 0x65 0x74 0x20
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 0x55 0x50 0x53 0x45
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 0x4c 0x69 0x62 0x72
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 0x61 0x72 0x79 0x53
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 0x74 0x61 0x66 0x66
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 0x3a 0x5f 0x3a 0x77
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: Invalid magic: 67
    Nov 23 11:40:41 library systemd-memcached-wrapper[14570]: <24 connection closed.

    Plugin Contributor Andrija Vučinić

    (@aidvu)

    > Nov 23 11:40:41 library php: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/wordpress-live/wp-content/object-cache.php on line 176

    Seems to timeout. If you’re using username/password (which the plugin doesn’t support yet) you can try this solution: https://wordpress.org/support/topic/add-support-for-memcached-sasl/#post-16175580

    Thread Starter noeyx

    (@noeyx)

    Hi,

    I still encounter a critical error when I tried the solution in https://wordpress.org/support/topic/add-support-for-memcached-sasl/#post-16175580.

    I think I’ll put on hold this plugin for now until a new working version that supports SASL comes out.

    Thank you very much for your assistance.

    Plugin Contributor Andrija Vučinić

    (@aidvu)

    Nps. No ETA on the SASL support tho.

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

The topic ‘Critical error’ is closed to new replies.