Title: PHP Warning: call_user_func_array()
Last modified: February 27, 2020

---

# PHP Warning: call_user_func_array()

 *  Resolved [ANBI Trading](https://wordpress.org/support/users/anbi/)
 * (@anbi)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-warning-call_user_func_array-5/)
 * Dear Team,
    Greetings! Squirrly is awesome.
 * PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback,
   class ‘SQ_Models_Services_JsonLD’ does not have a method ‘generate_review_data’
   in /home/rifhan/public_html/site.com/wp-includes/class-wp-hook.php on line 288
 * This is the error generated while setting Debug_LOG to true.
 * Regards,
    Rifhan Mohamed [rifhantly@gmail.com](https://wordpress.org/support/topic/php-warning-call_user_func_array-5/rifhantly@gmail.com?output_format=md)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-call_user_func_array-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Calin Vingan](https://wordpress.org/support/users/calinvingan/)
 * (@calinvingan)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-warning-call_user_func_array-5/#post-12485803)
 * Hi Rifhan,
 * Thank you for letting us know about the issue. We are working on Squirrly SEO
   2020 and made some changings in Json-LD.
 * We integrated also the reviews section in the product section.
 * Can you delete the line 22:
    `add_filter('sq_json_ld', array($this, 'generate_review_data'),
   8);`
 * from the file /wp-content/plugins/squirrly-seo/models/services/JsonLD.php?
 * We will include this fix in the next version of Squirrly SEO.
 * Best, Calin
 *  Thread Starter [ANBI Trading](https://wordpress.org/support/users/anbi/)
 * (@anbi)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-warning-call_user_func_array-5/#post-12487036)
 * Dear Calin,
    Greetings!
 * My pleasure. I’m eagerly waiting for Squirrly SEO 2020. Thank you so much for
   your support on this issue. Yeah, I’ll delete that LOC.
 * Wishes,
    Rifhan

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

The topic ‘PHP Warning: call_user_func_array()’ is closed to new replies.

 * ![](https://ps.w.org/squirrly-seo/assets/icon-256x256.png?rev=2724476)
 * [SEO Plugin by Squirrly SEO](https://wordpress.org/plugins/squirrly-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/squirrly-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/squirrly-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/squirrly-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/squirrly-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/squirrly-seo/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [ANBI Trading](https://wordpress.org/support/users/anbi/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/php-warning-call_user_func_array-5/#post-12487036)
 * Status: resolved