Title: PHP Fatal error: Uncaught TypeError: strpos()
Last modified: November 14, 2023

---

# PHP Fatal error: Uncaught TypeError: strpos()

 *  Resolved [markd33](https://wordpress.org/support/users/markd33/)
 * (@markd33)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-strpos/)
 * We are receiving the following fatal error on WordPress 6.4.1 when editing posts.
 * PHP Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be
   of type string, null given in/wp-content/plugins/speechkit/src/Core/Player/Player.
   php:146
    -  This topic was modified 2 years, 6 months ago by [markd33](https://wordpress.org/support/users/markd33/).

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

 *  Thread Starter [markd33](https://wordpress.org/support/users/markd33/)
 * (@markd33)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-strpos/#post-17216341)
 * Looks like this has been resolved in version 4.2.4:
 * **Fixes**
    - Ensure the $content param of Beyondwords\Wordpress\Core\Player\Player::hasCustomPlayer
      is a string before using strpos.
 *  Plugin Author [BeyondWords (formerly SpeechKit)](https://wordpress.org/support/users/speechkit/)
 * (@speechkit)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-strpos/#post-17216611)
 * Hi Mark, thank you for reporting this issue!
 * Yes, this issue was fixed in the plugin’s v4.2.4 release. Please update to the
   latest version to avoid it.

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

The topic ‘PHP Fatal error: Uncaught TypeError: strpos()’ is closed to new replies.

 * ![](https://ps.w.org/speechkit/assets/icon-256x256.png?rev=2633494)
 * [BeyondWords - Text-to-Speech](https://wordpress.org/plugins/speechkit/)
 * [Support Threads](https://wordpress.org/support/plugin/speechkit/)
 * [Active Topics](https://wordpress.org/support/plugin/speechkit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/speechkit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/speechkit/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [BeyondWords (formerly SpeechKit)](https://wordpress.org/support/users/speechkit/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-strpos/#post-17216611)
 * Status: resolved