PHP Error/Warning in Cache File
-
Getting an invalid warning at line 1207 of wp-cache-phase-2.php. Fixed it by replacing the conditional with the following:
if ( is_array($posts) && isset( $posts[0] ) && ( is_single() || is_page() ) ) { return $posts[0]->ID; }
The topic ‘PHP Error/Warning in Cache File’ is closed to new replies.