Title: Fatal error in ReviewCarouselShortcode
Last modified: November 27, 2025

---

# Fatal error in ReviewCarouselShortcode

 *  [lightstyle](https://wordpress.org/support/users/lightstyle/)
 * (@lightstyle)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/fatal-error-in-reviewcarouselshortcode/)
 * Hi RateMyAgent team,
   I am getting a PHP fatal error on my site when using the
   RateMyAgent Official plugin’s Review Carousel with Elementor.Error log:PHP Fatal
   error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type
   array, stdClass given in /home/socialrealty/public_html/wp-content/plugins/ratemyagent-
   official/blocks/ReviewCarousel/Shortcode/ReviewCarouselShortcode.php:39Stack 
   trace (truncated):#0 /home/socialrealty/public_html/wp-content/plugins/ratemyagent-
   official/blocks/ReviewCarousel/Shortcode/ReviewCarouselShortcode.php(39): array_filter()#
   1 /home/socialrealty/public_html/wp-includes/shortcodes.php(434): Rma\Blocks\
   ReviewCarousel\Shortcode\ReviewCarouselShortcode->render()#2 [internal function]:
   do_shortcode_tag()…#27 {main}thrown in /home/socialrealty/public_html/wp-content/
   plugins/ratemyagent-official/blocks/ReviewCarousel/Shortcode/ReviewCarouselShortcode.
   php on line 39Environment details:Site: [https://socialrealty.au/](https://socialrealty.au/)
   Plugin: RateMyAgent Official (version: [1.6.4])WordPress version: [6.8.3]PHP 
   version: [8.3]Page builder: Elementor (using the Shortcode widget to render the
   Review Carousel)When the Review Carousel shortcode/widget is active on the page,
   the site hits this fatal error; disabling the RateMyAgent Official plugin (or
   removing the Review Carousel from the page) resolves it.It looks like array_filter()
   in ReviewCarouselShortcode::render() is being called on a stdClass rather than
   an array. Could you please:Confirm this is a known issue or provide a patched
   version, andAdd a guard or cast so the code safely handles non‑array responses
   from the API?Happy to provide any additional logs or a test page if needed.Thanks
   in advance for your help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-in-reviewcarouselshortcode%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tom Stones](https://wordpress.org/support/users/tbstones/)
 * (@tbstones)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/fatal-error-in-reviewcarouselshortcode/#post-18735029)
 * Hey [@lightstyle](https://wordpress.org/support/users/lightstyle/),
 * Can you share the short code you are using?
 *  Thread Starter [lightstyle](https://wordpress.org/support/users/lightstyle/)
 * (@lightstyle)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/fatal-error-in-reviewcarouselshortcode/#post-18736106)
 * Sure, FIY everytjing was working fine until Thursday 27/11 and is the same setup
   I’ve used for a couple of years. 
   [rma-review-carousel template_type=”full” profile_type
   =”agency” profile_code=”au431″] [/rma-review-carousel]
 *  Plugin Author [Tom Stones](https://wordpress.org/support/users/tbstones/)
 * (@tbstones)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/fatal-error-in-reviewcarouselshortcode/#post-18736217)
 * Ah! thanks for letting me know. We haven’t put out a release, so it looks it 
   will be incompatibility with PHP or WordPress.
 * I will test against your specific version and get back to you
 *  Plugin Author [Tom Stones](https://wordpress.org/support/users/tbstones/)
 * (@tbstones)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/fatal-error-in-reviewcarouselshortcode/#post-18740616)
 * I am testing locally with php 8.3 and wp 6.8.3 and the block and shortcode are
   working fine.
   Was there a change in elementor version?
    -  This reply was modified 6 months, 1 week ago by [Tom Stones](https://wordpress.org/support/users/tbstones/).

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

The topic ‘Fatal error in ReviewCarouselShortcode’ is closed to new replies.

 * ![](https://ps.w.org/ratemyagent-official/assets/icon.svg?rev=2784322)
 * [RateMyAgent Official](https://wordpress.org/plugins/ratemyagent-official/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ratemyagent-official/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ratemyagent-official/)
 * [Active Topics](https://wordpress.org/support/plugin/ratemyagent-official/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ratemyagent-official/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ratemyagent-official/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Tom Stones](https://wordpress.org/support/users/tbstones/)
 * Last activity: [6 months, 1 week ago](https://wordpress.org/support/topic/fatal-error-in-reviewcarouselshortcode/#post-18740616)
 * Status: not resolved