Home Forums Pro Themes Kids Education Pro tp-education bug in Kids Education Pro

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #209949
    Victoria Steele
    Participant

    Hi, I’m using the “Kids Education Pro” theme, and I’m encountering a PHP error when trying to update or manage Team information in the WordPress admin.

    The error message is:

    Uncaught Error: in_array(): Argument #2 ($haystack) must be of type array, string given in /wp-content/plugins/tp-education/tp-metabox/class-tp-team-metabox.php on line 96

    It seems like the tp-education plugin (which comes bundled with the theme) is expecting an array but is receiving a string instead.

    This happens on the Team post type screen, and it prevents me from updating content.

    Can you please advise on a fix or provide an updated version of the plugin that handles this more gracefully (e.g., checking is_array() before calling in_array())?

    Thank you!

    #209951
    Psink
    Keymaster

    @leescornerpta, thank you for bringing the issue with the TP Education plugin to our attention.

    We appreciate your feedback and would like to inform you that an official update will be released in the next couple of days.

    In the meantime, you can download the updated version of the plugin from the link below:
    https://we.tl/t-aI3MryaY0A

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.