Title: Too many errors
Last modified: September 2, 2016

---

# Too many errors

 *  [Sandra l***](https://wordpress.org/support/users/sandra1010/)
 * (@sandra1010)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/too-many-errors-2/)
 * Have installed the 1.0.1 plugin version on a brand new site (latest WP release),
   have activated the standard Twenty Eleven theme. The test site is hosted with
   hostgator.
 * The calendar page is empty. I gave ut a closed look and I can see that the WPTeacher::
   loadCalendar(); line yields no display.
 * The wp-admin Calendar settings generate many errors:
    **Basic Week Warning: in_array()[
   function.in-array]: Wrong datatype for second argument in /home/mysite/public_html/
   siteid/wp-content/plugins/wp-teacher/admin/index.php on line 88 /> Basic Day 
   Warning: in_array() [function.in-array]: Wrong datatype for second argument in/
   home/mysite/public_html/siteid/wp-content/plugins/wp-teacher/admin/index.php 
   on line 92 /> Agenda Week Warning: in_array() [function.in-array]: Wrong datatype
   for second argument in /home/mysite/public_html/siteid/wp-content/plugins/wp-
   teacher/admin/index.php on line 96 /> Agenda Day Warning: in_array() [function.
   in-array]: Wrong datatype for second argument in /home/mysite/public_html/siteid/
   wp-content/plugins/wp-teacher/admin/index.php on line 100 />
 * When I create a new assignment, I get warnings in the Assignment document section:
 * **Assignment Documents**
 * Push the button to add another document.
 * Warning: Invalid argument supplied for foreach() in /home/mysite/public_html/
   siteid/wp-content/plugins/wp-teacher/includes/ui/ui-assignment-meta.php on line
   27
 * I have stopped testing the plugin after that. So there may be other issues.

Viewing 1 replies (of 1 total)

 *  Plugin Author [fredlawl](https://wordpress.org/support/users/fredlawl/)
 * (@fredlawl)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/too-many-errors-2/#post-7726075)
 * Yeah I realized that too after the fact. I’m in the process of fixing all of 
   those issues. However, they can be fixed by adding in the ‘course’, ‘assignment
   types’, and ‘event types’ taxonomies under the Assignments and Events tab. I 
   should have the next release this weekend.
 * Sorry for the inconvenience.

Viewing 1 replies (of 1 total)

The topic ‘Too many errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-teacher_e3e3e3.svg)
 * [WP Teacher](https://wordpress.org/plugins/wp-teacher/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-teacher/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-teacher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-teacher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-teacher/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [fredlawl](https://wordpress.org/support/users/fredlawl/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/too-many-errors-2/#post-7726075)