When your website means business.

PHP, WP/CP | Type: PHPPatch count(): countable in wp-includes/post-template.php on line 284

Normally a bad idea to patch a WP core file, but here’s the patch:

// original code:
if ( $page > count( $pages ) )
//add BEFORE above code:
if (empty($pages)) $pages = [];

Reference Links

We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Accept