WordPress.org

Ready to get started?Download WordPress

Forums

WP Teacher
Too many errors (2 posts)

1 star
  1. Sandra l***
    Member
    Posted 1 year ago #

    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.

  2. fredlawl
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.