Title: PHP Deprecated: stripos() error
Last modified: December 13, 2023

---

# PHP Deprecated: stripos() error

 *  [whanklee](https://wordpress.org/support/users/whanklee/)
 * (@whanklee)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/php-deprecated-stripos-error/)
 * Hi,
 * After activating I get this error message:
 * 3-Dec-2023 10:26:45 UTC] PHP Deprecated: stripos(): Passing null to parameter#
   1 ($haystack) of type string is deprecated in /var/www/demo/public_html/wp-includes/
   functions.wp-styles.php on line 90
   [1
 * What goes wrong? I am using the latest WordPress.

Viewing 1 replies (of 1 total)

 *  Thread Starter [whanklee](https://wordpress.org/support/users/whanklee/)
 * (@whanklee)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/php-deprecated-stripos-error/#post-17274287)
 * Always getting this error message:
 * **Fatal error**: Allowed memory size of 536870912 bytes exhausted (tried to allocate
   16384 bytes) in **/var/www/demo/public_html/wp-includes/class-wpdb.php** on line**
   2320**
 * There has been a critical error on this website. Please check your site admin
   email inbox for instructions.
 * Using following property in wp-config.php:
 * define ( ‘WP_MEMORY_LIMIT’, ‘128M’ );

Viewing 1 replies (of 1 total)

The topic ‘PHP Deprecated: stripos() error’ is closed to new replies.

 * ![](https://ps.w.org/plus-webp/assets/icon-256x256.png?rev=2087314)
 * [Plus WebP or AVIF](https://wordpress.org/plugins/plus-webp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/plus-webp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/plus-webp/)
 * [Active Topics](https://wordpress.org/support/plugin/plus-webp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/plus-webp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/plus-webp/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [whanklee](https://wordpress.org/support/users/whanklee/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/php-deprecated-stripos-error/#post-17274287)
 * Status: not resolved