Title: PHP 8.1 warning message
Last modified: January 24, 2023

---

# PHP 8.1 warning message

 *  Resolved [sahro](https://wordpress.org/support/users/sahro/)
 * (@sahro)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-8-1-warning-message/)
 *     ```wp-block-code
       Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /../wp-includes/functions.php on line 2162
   
       Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /../wp-includes/functions.php on line 7022
       ```
   
 * wp 6.1.1
 * php 8.1
    -  This topic was modified 3 years, 4 months ago by [sahro](https://wordpress.org/support/users/sahro/).

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

 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-8-1-warning-message/#post-16402997)
 * It looks like those are some deprecation notices that were triggered in WordPress
   core files. Are you reporting them here because you believe that they are related
   to this specific plugin? If so, could you elaborate on how you determined that?
   For example, if there is a stack trace that shows that the notices were indirectly
   triggered by a PHP file that’s part of Error Log Monitor, please post it here–
   it would help track down the bug.
 *  Thread Starter [sahro](https://wordpress.org/support/users/sahro/)
 * (@sahro)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-8-1-warning-message/#post-16403353)
 *     ```wp-block-code
       FS_Admin_Menu_Manager::add_subpage($parent_slug = NULL, $page_title = 'Freemius Debug [v.2.4.5]', $menu_title = 'Freemius Debug [v.2.4.5]', $capability = 'manage_options', $menu_slug = 'freemius', $function = [0 => 'Freemius', 1 => '_debug_page_render']) ..\wp-content\plugins\error-log-monitor-\freemius\includes\class-freemius.php:3539
   
       add_submenu_page($parent_slug = NULL, $page_title = 'Freemius Debug [v.2.4.5]', $menu_title = 'Freemius Debug [v.2.4.5]', $capability = 'manage_options', $menu_slug = 'freemius', $callback = [0 => 'Freemius', 1 => '_debug_page_render'], $position = *uninitialized*) ..\wp-content\plugins\error-log-monitor-\freemius\includes\managers\class-fs-admin-menu-manager.php:959
       ```
   
 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-8-1-warning-message/#post-16408393)
 * It looks like that’s related to the Freemius SDK used by this plugin. I’ll update
   the SDK to the latest release, and hopefully, that will help with PHP 8.1 compatibility.
   A new plugin version will be out today.
 *  Thread Starter [sahro](https://wordpress.org/support/users/sahro/)
 * (@sahro)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-8-1-warning-message/#post-16409373)
 * Thanks, now it is compatible with php 8.1+
 *  [psimatrix](https://wordpress.org/support/users/psimatrix/)
 * (@psimatrix)
 * [3 years ago](https://wordpress.org/support/topic/php-8-1-warning-message/#post-16761435)
 * The above error is resolved but the following is also persisting.
 * Creation of dynamic property FS_Plugin::$opt_in_moderation is deprecated
 * wp-includes/functions.php:649unserialize()wp-includes/functions.php:649maybe_unserialize()
   wp-includes/option.php:1497get_network_option()wp-includes/option.php:1351get_site_option()
   wp-content/plugins/error-log-monitor/freemius/includes/managers/class-fs-option-
   manager.php:169FS_Option_Manager->load()wp-content/plugins/error-log-monitor/
   freemius/includes/managers/class-fs-option-manager.php:98FS_Option_Manager->__construct()
   wp-content/plugins/error-log-monitor/freemius/includes/managers/class-fs-option-
   manager.php:134FS_Option_Manager::get_manager()wp-content/plugins/error-log-monitor/
   freemius/includes/class-fs-options.php:87FS_Options->__construct()wp-content/
   plugins/error-log-monitor/freemius/includes/class-fs-options.php:68FS_Options::
   instance()wp-content/plugins/error-log-monitor/freemius/includes/class-freemius.
   php:3357Freemius::_load_required_static()wp-content/plugins/error-log-monitor/
   freemius/includes/class-freemius.php:2772Freemius::instance()wp-content/plugins/
   error-log-monitor/freemius/start.php:525fs_dynamic_init()wp-content/plugins/error-
   log-monitor/plugin.php:31wsh_elm_fs()wp-content/plugins/error-log-monitor/plugin.
   php:51
 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [3 years ago](https://wordpress.org/support/topic/php-8-1-warning-message/#post-16770774)
 * That’s another notice in the Freemius SDK. I’ll update it once again.

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

The topic ‘PHP 8.1 warning message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/error-log-monitor.svg)
 * [Error Log Monitor](https://wordpress.org/plugins/error-log-monitor/)
 * [Support Threads](https://wordpress.org/support/plugin/error-log-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/error-log-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/error-log-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/error-log-monitor/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/php-8-1-warning-message/#post-16770774)
 * Status: resolved