Title: [Plugin: teachPress] Bug in Version 3.1.7?
Last modified: August 20, 2016

---

# [Plugin: teachPress] Bug in Version 3.1.7?

 *  Resolved [sushi78](https://wordpress.org/support/users/sushi78/)
 * (@sushi78)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-teachpress-bug-in-version-317/)
 * Hi,
 * I just downloaded and installed verison 3.1.7 of this plugin and now I get an
   error message within the admin interface course list:
 * Warning: array_key_exists() [function.array-key-exists]: The second argument 
   should be either an array or an object in …/wp-content/plugins/teachpress/admin/
   show_courses.php on line 233
 * Bug or not?
 * [http://wordpress.org/extend/plugins/teachpress/](http://wordpress.org/extend/plugins/teachpress/)

Viewing 1 replies (of 1 total)

 *  [Michael](https://wordpress.org/support/users/donsalierie/)
 * (@donsalierie)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-teachpress-bug-in-version-317/#post-3087687)
 * Hi,
 * this message appears if there is only one course in the database. In this case
   the second argument for array_key_exists() isn’t an array. It will be fixed with
   the next version. Thanks for reporting 😉

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: teachPress] Bug in Version 3.1.7?’ is closed to new replies.

 * ![](https://ps.w.org/teachpress/assets/icon-256x256.png?rev=1110789)
 * [teachPress](https://wordpress.org/plugins/teachpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/teachpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/teachpress/)
 * [Active Topics](https://wordpress.org/support/plugin/teachpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/teachpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/teachpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/donsalierie/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-teachpress-bug-in-version-317/#post-3087687)
 * Status: resolved