# Twitter plugin url callback 500 error

**URL:** <https://forum.mautic.org/t/twitter-plugin-url-callback-500-error/32020>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [May 9, 2024, 11:06am UTC](https://forum.mautic.org/t/twitter-plugin-url-callback-500-error/32020 "2024-05-09T11:06:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ncmon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ncmon/32/11887_2.png) [@ncmon](https://forum.mautic.org/u/ncmon)\
**Post date:** [May 9, 2024, 11:06am UTC](https://forum.mautic.org/t/twitter-plugin-url-callback-500-error/32020/1 "2024-05-09T11:06:12Z")

</div>

**Your software**  
My Mautic version is: 5  
My PHP version is: 8.1  
My Database type and version is: mariaDB

**Your problem**  
My problem is: URL call back ends with 500 error

These errors are showing in the log:

mautic.CRITICAL: Uncaught PHP Exception TypeError: “preg\_match(): Argument #2 ($subject) must be of type string, array given” at xxxxxx/public\_html/plugins/MauticSocialBundle/Integration/TwitterIntegration.php line 228 {“exception”:“[object] (TypeError(code: 0): preg\_match(): Argument #2 ($subject) must be of type string, array given at xxxxxxxxxx/public\_html/plugins/MauticSocialBundle/Integration/TwitterIntegration.php:228)”
