Title: PHP warning and error &#8220;Parameter must be an array or an object&#8230;&#8221;
Last modified: February 6, 2021

---

# PHP warning and error “Parameter must be an array or an object…”

 *  Resolved [seofreelance](https://wordpress.org/support/users/seofreelance/)
 * (@seofreelance)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/php-warning-and-error-parameter-must-be-an-array-or-an-object/)
 * Hi!
    The following error goes over and over on the logs. The GET’s are changing
   from “expected” URLs to others, unexpected, mentioning pharma products. Looks
   like scanning for exploit intent, but I rather wait for your oppinion. As I say,
   this error also happens mentioning my own website known URLs.
 * Feb 6, 2021 7:34:38 PM 2021/02/06 18:34:38 [error] 90#90: *16052 FastCGI sent
   in stderr: “PHP message: PHP Warning: count(): Parameter must be an array or 
   an object that implements Countable in /var/www/html/wp-content/plugins/schema-
   and-structured-data-for-wp/modules/reviews/reviews_collection.php on line 394”
   while reading response header from upstream, client: 172.18.0.1, server: 127.0.0.1,
   request: “GET /?where-can-i-get-ativan-online&ktrl=1479309294 HTTP/1.1”, upstream:“
   fastcgi://unix:/var/run/php/php-fpm.sock:”, host: “www.seofreelance.es”
 * Hope you can find an explanation for this 🙂
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-and-error-parameter-must-be-an-array-or-an-object%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/php-warning-and-error-parameter-must-be-an-array-or-an-object/#post-14018745)
 * We have created a GitHub ticket regarding this issue and it will be resolved 
   in upcoming plugin updates.
 * For reference please follow this GitHub ticket: [https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues/1314](https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues/1314)
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/php-warning-and-error-parameter-must-be-an-array-or-an-object/#post-14035597)
 * We have resolved this issue and pushed it in recent plugin update version 1.9.62.
   Please update the plugin and check it once. Then let us know back.

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

The topic ‘PHP warning and error “Parameter must be an array or an object…”’ is 
closed to new replies.

 * ![](https://ps.w.org/schema-and-structured-data-for-wp/assets/icon-256x256.png?
   rev=1922284)
 * [Schema & Structured Data for WP & AMP](https://wordpress.org/plugins/schema-and-structured-data-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/schema-and-structured-data-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [get](https://wordpress.org/support/topic-tag/get/)
 * [Logs](https://wordpress.org/support/topic-tag/logs/)
 * [scan](https://wordpress.org/support/topic-tag/scan/)

 * 2 replies
 * 2 participants
 * Last reply from: [Magazine3](https://wordpress.org/support/users/magazine3/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/php-warning-and-error-parameter-must-be-an-array-or-an-object/#post-14035597)
 * Status: resolved