Title: PHP Fatal Error: Uncaught TypeError
Last modified: August 1, 2024

---

# PHP Fatal Error: Uncaught TypeError

 *  Resolved [jornalosaopaulo](https://wordpress.org/support/users/jornalosaopaulo/)
 * (@jornalosaopaulo)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-12/)
 * Hello there!
 * Every now and then I see this error being thrown on my php error log:
 *     ```wp-block-code
       PHP Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /public_html/wp-content/plugins/specific-content-for-mobile/specific-content-for-mobile.php:45Stack trace: 0 /public_html/wp-content/plugins/specific-content-for-mobile/specific-content-for-mobile.php(45): strpos() 1 /public_html/wp-settings.php(522): include_once('…') 2 /public_html/wp-config.php(97): require_once('…') 3 /public_html/wp-load.php(50): require_once('…') 4 /public_html/wp-admin/admin-ajax.php(22): require_once('…') 5 {main}
       ```
   
 * It doesn’t seems to affect the showing of the mobile version of the site, but
   maybe is something worth to investigate?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-12/#post-17929631)
 * Hi [@jornalosaopaulo](https://wordpress.org/support/users/jornalosaopaulo/)
 * thank you for reporting this issue.
   That fatal error surely has no impact on 
   the functionality of Specific Content For Mobile, but you may have issues during
   the process of another plugin of yours.I suggest you update to the new version
   0.2.0. Then you should not see any more that error.
 * Have a great day!
   Jose

Viewing 1 replies (of 1 total)

The topic ‘PHP Fatal Error: Uncaught TypeError’ is closed to new replies.

 * ![](https://ps.w.org/specific-content-for-mobile/assets/icon-256x256.png?rev=
   2447531)
 * [Specific Content For Mobile - Customize the mobile version without redirections](https://wordpress.org/plugins/specific-content-for-mobile/)
 * [Support Threads](https://wordpress.org/support/plugin/specific-content-for-mobile/)
 * [Active Topics](https://wordpress.org/support/plugin/specific-content-for-mobile/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/specific-content-for-mobile/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/specific-content-for-mobile/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-12/#post-17929631)
 * Status: resolved