Title: PHP Warning: explode() expects parameter 2 to be string, array given
Last modified: December 14, 2022

---

# PHP Warning: explode() expects parameter 2 to be string, array given

 *  [HLFH](https://wordpress.org/support/users/hlfh/)
 * (@hlfh)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-warning-explode-expects-parameter-2-to-be-string-array-given/)
 * 2022/12/14 13:24:27 [error] 58079#58079: *1584929 FastCGI sent in stderr: “PHP
   message: PHP Warning: explode() expects parameter 2 to be string, array given
   in […]/wp-content/plugins/antispam-premium/includes/firewall/class-wordpress-
   request.php on line 105” while reading response header from upstream, client:[…],
   server: […], request: “GET /author/[…] HTTP/2.0”, upstream: “fastcgi://unix:/
   run/php/php7.4-fpm.sock:”, host: “[…]”, referrer: “[…]”
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-explode-expects-parameter-2-to-be-string-array-given%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘PHP Warning: explode() expects parameter 2 to be string, array given’
is closed to new replies.

 * ![](https://ps.w.org/anti-spam/assets/icon-256x256.gif?rev=3469595)
 * [Titan Anti-spam & Security – Brute Force Protection, 2FA & Spam Filter](https://wordpress.org/plugins/anti-spam/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/anti-spam/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/anti-spam/)
 * [Active Topics](https://wordpress.org/support/plugin/anti-spam/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/anti-spam/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/anti-spam/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [HLFH](https://wordpress.org/support/users/hlfh/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/php-warning-explode-expects-parameter-2-to-be-string-array-given/)
 * Status: not resolved