• WP 6.2.2
    WP User Manager 2.9.7
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/wp_nd2vgv/printvispartner.com/wp-content/plugins/wp-user-manager/includes/class-wp-user-manager.php on line 389
    
    Deprecated: Return type of WPUM\Carbon_Fields\Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/wp_nd2vgv/printvispartner.com/wp-content/plugins/wp-user-manager/vendor-dist/htmlburger/carbon-fields/core/Pimple/Container.php on line 111
    
    Deprecated: Return type of WPUM\Carbon_Fields\Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/wp_nd2vgv/printvispartner.com/wp-content/plugins/wp-user-manager/vendor-dist/htmlburger/carbon-fields/core/Pimple/Container.php on line 87
    
    Deprecated: Return type of WPUM\Carbon_Fields\Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/wp_nd2vgv/printvispartner.com/wp-content/plugins/wp-user-manager/vendor-dist/htmlburger/carbon-fields/core/Pimple/Container.php on line 70
    
    Deprecated: Return type of WPUM\Carbon_Fields\Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/wp_nd2vgv/printvispartner.com/wp-content/plugins/wp-user-manager/vendor-dist/htmlburger/carbon-fields/core/Pimple/Container.php on line 120
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/wp_nd2vgv/printvispartner.com/wp-content/plugins/wp-user-manager/includes/actions.php on line 388
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/wp_nd2vgv/printvispartner.com/wp-content/plugins/wp-user-manager/includes/admin/class-wpum-plugin-updates.php on line 655
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/wp_nd2vgv/printvispartner.com/wp-content/plugins/wp-user-manager/includes/integrations/stripe/Connect.php on line 165
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/wp_nd2vgv/printvispartner.com/wp-content/plugins/wp-user-manager/includes/integrations/stripe/Settings.php on line 543
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/wp_nd2vgv/printvispartner.com/wp-content/plugins/wp-user-manager/includes/emails/class-wpum-emails-list.php on line 60
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/wp_nd2vgv/printvispartner.com/wp-content/plugins/wp-user-manager/includes/updates/class-wpum-updater-settings.php on line 96
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Mark Kevin

    (@mkesteban08)

    Hi @klll ,

    Thanks for bringing this to our attention. Could you please provide me more information regarding what php version you are using? This might be causing the constant to be deprecated, and I’ll be glad to escalate it to ou development team.

    Thread Starter klll

    (@klll)

    It is PHP version 8.1.17

    Thread Starter klll

    (@klll)

    Is there a Time line to get it Fixed?

    Hi @mkesteban08 !

    While working on my membership site (that is heavily and happily dependent on WPUM) I suddenly had a completely white screen in Chrome when trying to access the site logged in. Logged out all looks okay though.

    Searching for the error I found that Safari lists 35 “Deprecated:”-errors before viewing the site, and 19 of them starts with “Deprecated: Return type of WPUM”…

    The very first error is:

    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /MY_SITE/wp-content/plugins/wp-user-manager/includes/class-wp-user-manager.php on line 389

    I wasn’t doing any core changes or updates when this occurred, so I’m a bit surprised.

    Could you give me a clue on what went wrong?

    WordPress 6.1.2
    WPUM: 2.9.7
    PHP: 8.1

    • This reply was modified 1 year, 1 month ago by joxyzan.

    Hi again @mkesteban08 !

    I solved the white screen problem – it was my own brutal adjustments of the CSS that caused it… ??

    The “Deprecated:”-errors showed up in Safari because I had set

    define( 'WP_DEBUG', true );

    while Chrome partly relied on cache….

    So all I’m wondering now is if/when you will fix those errors caused by FILTER_SANITIZE_STRING being deprecetad in PHP 8.1 – even if they cause no visible problems to my site. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Deprecated: Constant FILTER_SANITIZE_STRING is deprecated’ is closed to new replies.