Title: Error notification &#8211; E_DEPRECATED
Last modified: October 9, 2025

---

# Error notification – E_DEPRECATED

 *  Resolved [sudhadev2025](https://wordpress.org/support/users/sudhadev2025/)
 * (@sudhadev2025)
 * [8 months ago](https://wordpress.org/support/topic/error-notification-e_deprecated/)
 * Hello Support,
 * I’m receiving a PHP deprecation warning on my website due to SG Optimizer:
   Error
   Level: E_DEPRECATEDMessage: strpos(): Passing null to parameter #1 ($haystack)
   of type string is deprecatedFile: /wp-content/plugins/sg-cachepress/vendor/siteground/
   siteground-helper/src/Helper_Service.phpLine: 87Request: //loginReferrer: unknown

Viewing 1 replies (of 1 total)

 *  Plugin Support [Simeon Boev](https://wordpress.org/support/users/k3llanved/)
 * (@k3llanved)
 * [8 months ago](https://wordpress.org/support/topic/error-notification-e_deprecated/#post-18674868)
 * Hello [@sudhadev2025](https://wordpress.org/support/users/sudhadev2025/),
 * As the plugin is designed to support older PHP versions for now such warnings
   are not unexpected. Set the PHP reporting to error only, and you will no longer
   see those warning notifications.
 * Best Regards,
 * Simeon Boev

Viewing 1 replies (of 1 total)

The topic ‘Error notification – E_DEPRECATED’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Simeon Boev](https://wordpress.org/support/users/k3llanved/)
 * Last activity: [8 months ago](https://wordpress.org/support/topic/error-notification-e_deprecated/#post-18674868)
 * Status: resolved