Fatal error on PHP 7.1
-
On php 7.1 I have such errors
Warning: Illegal string offset 'uri' in /server_path/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 861 Warning: Illegal string offset 'blog_id' in /server_path/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 862 Warning: Illegal string offset 'post' in /server_path/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 863 Warning: Illegal string offset 'key' in /server_path/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 864 Warning: Illegal string offset 'headers' in /server_path/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 870 Fatal error: Uncaught Error: Cannot use string offset as an array in /server_path/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:870To resolve the problem we need replace variable type definition:
$wp_cache_meta = '';to$wp_cache_meta = array();inwp-cache-phase2.php
The topic ‘Fatal error on PHP 7.1’ is closed to new replies.