- This topic has 1 reply, 2 voices, and was last updated 2 weeks, 1 day ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Kids Education Pro › tp-education bug in Kids Education Pro
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!
@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
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |