Title: Problems in template single-course.php
Last modified: March 19, 2020

---

# Problems in template single-course.php

 *  [rucarpe](https://wordpress.org/support/users/rucarpe/)
 * (@rucarpe)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/problems-in-template-single-course-php/)
 * Hi, I have a problem with the template single-course.php
 * When I activate the plugin appears the next error:
    Warning: count(): Parameter
   must be an array or an object that implements Countable in /home/rubencar/public_html/
   wp-includes/post-template.php on line 316
 * Regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblems-in-template-single-course-php%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Christoph Herr](https://wordpress.org/support/users/christophherr/)
 * (@christophherr)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/problems-in-template-single-course-php/#post-12560984)
 * Hi,
    sorry if I am misunderstanding your issue. This plugin doesn’t include templates.
 * Did you maybe mean to post to the [https://wordpress.org/plugins/genesis-connect-woocommerce/](https://wordpress.org/plugins/genesis-connect-woocommerce/)
   support?
 *  Thread Starter [rucarpe](https://wordpress.org/support/users/rucarpe/)
 * (@rucarpe)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/problems-in-template-single-course-php/#post-12561295)
 * Hi Christoph, thanks for your reply.
 * I know the plugin doesn’t include templates, but the problem appears when I active
   the plugin.
 * The template is from the Sensei LMS plugin.
 * Thank you
 *  [jsoto61](https://wordpress.org/support/users/jsoto61/)
 * (@jsoto61)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/problems-in-template-single-course-php/#post-12562982)
 * Hi
    The same thing happens to me too, and I have verified that it only happens
   with PHP versions 7.2 and 7.3. The plugin works correctly if you go to PHP version
   7.1
 *  Thread Starter [rucarpe](https://wordpress.org/support/users/rucarpe/)
 * (@rucarpe)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/problems-in-template-single-course-php/#post-12564181)
 * [@jsoto61](https://wordpress.org/support/users/jsoto61/) gracias amigo, justo
   ese era el problema.
 * Un abrazo.
 * [@christophherr](https://wordpress.org/support/users/christophherr/) Are you 
   going to update the plugin?
    Apparently the problem is in the PHP version. Thanks
    -  This reply was modified 6 years, 2 months ago by [rucarpe](https://wordpress.org/support/users/rucarpe/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problems in template single-course.php’ is closed to new replies.

 * ![](https://ps.w.org/genesis-connect-for-woothemes-sensei/assets/icon-256x256.
   jpg?rev=1495816)
 * [Genesis Connect for Woothemes Sensei](https://wordpress.org/plugins/genesis-connect-for-woothemes-sensei/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/genesis-connect-for-woothemes-sensei/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/genesis-connect-for-woothemes-sensei/)
 * [Active Topics](https://wordpress.org/support/plugin/genesis-connect-for-woothemes-sensei/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/genesis-connect-for-woothemes-sensei/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/genesis-connect-for-woothemes-sensei/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [rucarpe](https://wordpress.org/support/users/rucarpe/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/problems-in-template-single-course-php/#post-12564181)
 * Status: not resolved