Automattic / _s

Hi. I'm a starter theme called _s, or underscores, if you like. I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.
http://underscores.me/
GNU General Public License v2.0
10.96k stars 3.12k forks source link

Warning: count(): Parameter must be an array or an object that implements Countable in …/wp-includes/post-template.php on line 310 #1371

Closed tomektomczuk closed 4 years ago

tomektomczuk commented 5 years ago

To fix that you have to:

downgrade PHP version to 7.1 or edit wp-config.php and replace

define('WP_DEBUG', false);

to

ini_set('display_errors','Off'); ini_set('error_reporting', E_ALL ); define('WP_DEBUG', false); define('WP_DEBUG_DISPLAY', false);

jbotte commented 5 years ago

is there a fix for this yet?

Ismail-elkorchi commented 4 years ago

@tomektomczuk I just tried _s on a fresh install of WordPress with PHP 7.4 and I cannot reproduce the issue you are reporting.

Closing for now. Feel free to reopen the issue if you have additional information.