Title: php warning json_decode
Last modified: May 16, 2020

---

# php warning json_decode

 *  [bntabor](https://wordpress.org/support/users/bntabor/)
 * (@bntabor)
 * [6 years ago](https://wordpress.org/support/topic/php-warning-json_decode/)
 * Receiving this in error log: PHP Warning: json_decode() expects parameter 1 to
   be string, array given in /home/url.com/wp-content/plugins/mcafee-secure/lib/
   Mcafeesecure.php on line 32
 * Happens 1 – 4 times daily. Any suggestions?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-json_decode%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [trustedsitepatrick](https://wordpress.org/support/users/trustedsitepatrick/)
 * (@trustedsitepatrick)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/php-warning-json_decode/#post-12867101)
 * Hi bntabor,
 * Thanks for bringing this to our attention. I’ve identified a small improvement
   we can make that should avoid this warning. It will be included in our next update
   to the plugin, which should be released later this week.

Viewing 1 replies (of 1 total)

The topic ‘php warning json_decode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mcafee-secure_e0e0e0.svg)
 * [McAfee SECURE](https://wordpress.org/plugins/mcafee-secure/)
 * [Support Threads](https://wordpress.org/support/plugin/mcafee-secure/)
 * [Active Topics](https://wordpress.org/support/plugin/mcafee-secure/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mcafee-secure/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mcafee-secure/reviews/)

## Tags

 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * 1 reply
 * 2 participants
 * Last reply from: [trustedsitepatrick](https://wordpress.org/support/users/trustedsitepatrick/)
 * Last activity: [5 years, 12 months ago](https://wordpress.org/support/topic/php-warning-json_decode/#post-12867101)
 * Status: not resolved