{"id":12523093,"date":"2020-03-09T09:49:58","date_gmt":"2020-03-09T09:49:58","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/problem-with-php-version-2\/"},"modified":"2020-03-09T09:49:58","modified_gmt":"2020-03-09T09:49:58","slug":"problem-with-php-version-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/problem-with-php-version-2\/","title":{"rendered":"Problem with PHP version"},"content":{"rendered":"<p>I have an installation of Sensei LMS [2.4.0] with WordPress [5.3.2] that does not work for me with PHP versions higher than 7.1. When I try to enter a course, this error message appears:<\/p>\n<p>Warning: count (): Parameter must be an array or an object that implements Countable in \/&#8230;\/public_html\/wp-includes\/post-template.php on line 316<\/p>\n<p>This appears in &lt;section class = &#8220;entry fix&#8221;&gt; &#8230;<\/p>\n<p>Is it a Sensei LMS problem or is it a problem with my hosting?<br \/>\nThanks in advance.<\/p>\n","protected":false},"template":"","class_list":["post-12523093","topic","type-topic","status-publish","hentry","topic-tag-php"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12523093","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12523093\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12523093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}