Title: TypeError thrown
Last modified: September 10, 2024

---

# TypeError thrown

 *  Resolved [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * (@winterstreet)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/typeerror-thrown-20/)
 * With the plugin activated I get this error on the public facing side, only if
   I’m logged in.
 * TypeError thrown
 * array_intersect(): Argument #1 ($array) must be of type array, string given

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [groggy72](https://wordpress.org/support/users/groggy72/)
 * (@groggy72)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/typeerror-thrown-20/#post-18007041)
 * The plugin broke my site with the latest update – I’ve had to deactivate it. 
   It’s throwing up errors in the error log as above.
 * [10-Sep-2024 23:57:57 UTC] PHP Fatal error: Uncaught TypeError: array_intersect():
   Argument #1 ($array) must be of type array, string given in /home/xxxxxxxxxxxxxx.
   com.au/wp-content/plugins/ht-easy-google-analytics/frontend/class-frontend.php:
   78 Stack trace:
 *  Plugin Author [HT Plugins](https://wordpress.org/support/users/htplugins/)
 * (@htplugins)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/typeerror-thrown-20/#post-18007195)
 * Hi [@winterstreet](https://wordpress.org/support/users/winterstreet/) [@groggy72](https://wordpress.org/support/users/groggy72/)
 * We are sorry for the inconvenience. Anyway we have fixed the issue and updated
   the plugin. Please update the plugin to latest version. Hopefully the issue will
   be resolved.
 * If you have any questions, please let us know.
 * Thanks!
 *  [groggy72](https://wordpress.org/support/users/groggy72/)
 * (@groggy72)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/typeerror-thrown-20/#post-18007197)
 * Yes, seems to work ok now. Thank you.
 *  Thread Starter [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * (@winterstreet)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/typeerror-thrown-20/#post-18008340)
 * Thanks for the quick fix.
 *  [Tarek Aziz](https://wordpress.org/support/users/tarekht/)
 * (@tarekht)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/typeerror-thrown-20/#post-18009461)
 * Hi [@winterstreet](https://wordpress.org/support/users/winterstreet/) & [@groggy72](https://wordpress.org/support/users/groggy72/),
 * Good morning from here 🌅
 * It’s wonderful to hear that the error is fixed now.
 * If you ever need any assistance in the future, feel free to reach out.
 * Our support team will surely assist you.
 * Best regards,
    Tarek Aziz

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘TypeError thrown’ is closed to new replies.

 * ![](https://ps.w.org/ht-easy-google-analytics/assets/icon-256x256.png?rev=2875679)
 * [HT Easy GA4 - Google Analytics WordPress Plugin](https://wordpress.org/plugins/ht-easy-google-analytics/)
 * [Support Threads](https://wordpress.org/support/plugin/ht-easy-google-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/ht-easy-google-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ht-easy-google-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ht-easy-google-analytics/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Tarek Aziz](https://wordpress.org/support/users/tarekht/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/typeerror-thrown-20/#post-18009461)
 * Status: resolved