Fatal syntax error in object-cache.php on PHP 7.2 — Redis Object Cache 2.6.1
-
Hi, and thank you for your great plugin!
I’m using Redis Object Cache version 2.6.1 on a WordPress installation running PHP 7.2.34.
According to the plugin page, PHP 7.2 is still supported.However, after enabling object caching, my site crashes with this fatal error:
PHP Parse error: syntax error, unexpected ” (T_ENCAPSED_AND_WHITESPACE), expecting ‘-‘ or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /wp-content/object-cache.php on line 2078
I downloaded the plugin again from ww.wp.xz.cn to ensure the file wasn’t corrupted, but the error persists.
Looking at the changelog for 2.6.1, I noticed you mention:Fixed PHP 7.2 heredoc parsing error
Could this be a similar edge case or a missed fix?
Thanks again for your work!
Best regards,
The topic ‘Fatal syntax error in object-cache.php on PHP 7.2 — Redis Object Cache 2.6.1’ is closed to new replies.