• Resolved ccmawo

    (@ccmawo)


    Hi, today morning I realized that my site is down.
    After a short evaluation it turned out that there is a parser error in the object-cache.php file, possibly introduced with an automated upgrade of the redis object cache plugin to version 2.4.2:
    PHP Parse error: syntax error, unexpected ‘)’ in wp-content/object-cache.php on line 2935

    2930 $message .= '
    
    ' . sprintf( 
    2931 // translators: %1$s = Formatted object-cache.php file name, %2$s = Formatted wp-content directory name. 
    2932 __( 'To disable Redis, delete the %1$s file in the %2$s directory.', 'redis-cache' ), 
    2933 'object-cache.php', 
    2934 '/wp-content/', 
    2935 ) . "\n";

    PHP Version: 7.2.24-0ubuntu0.18.04.17
    Plugin Version: 2.4.2

    When I remove the comma in line 2934 the parse error is gone and the website is working again.

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

The topic ‘parse error in object-cache.php with plugin version 2.4.2’ is closed to new replies.