Title: Ticket list error
Last modified: February 2, 2022

---

# Ticket list error

 *  Resolved [Roberto Fietta](https://wordpress.org/support/users/webagile/)
 * (@webagile)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/ticket-list-error/)
 * Hi, when we change the filter settings in the tickets list, we see only one or
   two tickets, and we find this in the error log:
 * [Wed Feb 02 16:07:28.190787 2022] [php:error] [pid 2849] [client 151.55.243.86:
   51632] PHP Fatal error: Uncaught TypeError: strip_tags(): Argument #1 ($string)
   must be of type string, array given in /var/www/site.com/public_html/wp-includes/
   formatting.php:5374\nStack trace:\n#0 /var/www/site.com/public_html/wp-includes/
   formatting.php(5374): strip_tags()\n#1 [internal function]: wp_strip_all_tags()\
   n#2 /var/www/site.com/public_html/wp-content/plugins/awesome-support/includes/
   functions-templating.php(832): array_map()\n#3 /var/www/site.com/public_html/
   wp-content/plugins/awesome-support/includes/admin/class-admin-tickets-list.php(
   648): wpas_show_taxonomy_column()\n#4 /var/www/site.com/public_html/wp-includes/
   class-wp-hook.php(307): WPAS_Tickets_List->custom_columns_content()\n#5 /var/
   www/site.com/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()\
   n#6 /var/www/site.com/public_html/wp-includes/plugin.php(474): WP_Hook->do_action()\
   n#7 /var/www/site.com/public_html/wp-admin/includes/class-wp-posts-list-table.
   php(1350): do_action()\n#8 /var/www/site.com/public_html/wp-admin/includes/class-
   wp-list-table.php(1450): WP_Posts_List_Table->column_default()\n#9 /var/www/site.
   com/public_html/wp-admin/includes/class-wp-posts-list-table.php(1384): WP_List_Table-
   >single_row_columns()\n#10 /var/www/site.com/public_html/wp-admin/includes/class-
   wp-posts-list-table.php(795): WP_Posts_List_Table->single_row()\n#11 /var/www/
   site.com/public_html/wp-admin/includes/class-wp-posts-list-table.php(772): WP_Posts_List_Table-
   >_display_rows()\n#12 /var/www/site.com/public_html/wp-admin/includes/class-wp-
   list-table.php(1362): WP_Posts_List_Table->display_rows()\n#13 /var/www/site.
   com/public_html/wp-admin/includes/class-wp-list-table.php(1289): WP_List_Table-
   >display_rows_or_placeholder()\n#14 /var/www/site.com/public_html/wp-admin/edit.
   php(477): WP_List_Table->display()\n#15 {main}\n thrown in /var/www/site.com/
   public_html/wp-includes/formatting.php on line 5374
    [Wed Feb 02 16:07:29.177956
   2022] [php:warn] [pid 2811] [client 5.90.125.80:28799] PHP Warning: Undefined
   array key “post_type” in /var/www/site.com/public_html/wp-content/themes/tnp/
   functions.php on line 34, referer: [https://www.site.com/wp-admin/edit.php?post_type=ticket](https://www.site.com/wp-admin/edit.php?post_type=ticket)`
 * We are using 6.0.13 version, can you please check?
 * Regards,
    Roberto

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

 *  [Stefano Lissa](https://wordpress.org/support/users/satollo/)
 * (@satollo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/ticket-list-error/#post-15320643)
 * Hi, I can add some more: on functions-templating.php(832) the WP strip tags function
   is mapped on the $_GET, but the GET generated by the ticket list filter contains
   one or more
 * search_by[]
 * parameter which is translated in an array and cannot be passed to strip tags.
   Removing that array_map (to make a test), the filter starts to work again.
 * Stefano.
 *  [sademhaj](https://wordpress.org/support/users/jahmedas/)
 * (@jahmedas)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/ticket-list-error/#post-15326461)
 * Hi [@webagile](https://wordpress.org/support/users/webagile/)
 * Thanks for reaching us, while I investigate, let’s see if you might be running
   into conflicts with your theme or another plugin. The fastest way to find out
   for sure is to start by temporarily switching your theme to one of the basic 
   WP themes (e.g.2015/16/17/19/20/21/22). Then, if the issue still keeps happening,
   try turning off other plugins one by one until the problem disappears. The last
   one that you turned off before the problem is fixed is the one conflicting.
 * Regards.
 *  Plugin Author [Yeison Baron](https://wordpress.org/support/users/yeisonbp/)
 * (@yeisonbp)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/ticket-list-error/#post-15447931)
 * Hi,
 * Marking as solved. If the issue continues, you can reach us again.
 * Best Regards.

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

The topic ‘Ticket list error’ is closed to new replies.

 * ![](https://ps.w.org/awesome-support/assets/icon-256x256.png?rev=1849681)
 * [Awesome Support - WordPress HelpDesk & Support Plugin](https://wordpress.org/plugins/awesome-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/awesome-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-support/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-support/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Yeison Baron](https://wordpress.org/support/users/yeisonbp/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/ticket-list-error/#post-15447931)
 * Status: resolved