Title: Deprecated function with PHP 8.1
Last modified: June 30, 2022

---

# Deprecated function with PHP 8.1

 *  [michaelsmartmove](https://wordpress.org/support/users/michaelsmartmove/)
 * (@michaelsmartmove)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecated-function-with-php-8-1/)
 * Hi,
 * I am getting the following error on a clients website which is running on PHP
   8.1.
 * `Deprecated: base64_decode(): Passing null to parameter #1 ($string) of type 
   string is deprecated in /wp-content/plugins/worker/src/MWP/Worker/Request.php
   on line 198`

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

 *  Plugin Support [shteffk](https://wordpress.org/support/users/shteffk/)
 * (@shteffk)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecated-function-with-php-8-1/#post-15784375)
 * Hey there,
 * Thank you for letting us know about this.
 * Can you tell me does this also happen when you try to use PHP 8.0 ?
 *  Thread Starter [michaelsmartmove](https://wordpress.org/support/users/michaelsmartmove/)
 * (@michaelsmartmove)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecated-function-with-php-8-1/#post-15784399)
 * Hi [@shteffk](https://wordpress.org/support/users/shteffk/),
 * From what I can tell, it seems to work fine in PHP 8.0.
 * I sadly do not have full control of this clients hosting environment to change
   the PHP version but from my other clients where I do, on PHP 8.0 it doesn’t happen.
    -  This reply was modified 3 years, 11 months ago by [michaelsmartmove](https://wordpress.org/support/users/michaelsmartmove/).
 *  Plugin Support [shteffk](https://wordpress.org/support/users/shteffk/)
 * (@shteffk)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecated-function-with-php-8-1/#post-15784779)
 * Thank you for the update.
 * If you don’t mind me asking, when you mentioned the error, does the website not
   load at all or is this a warning you see in your logs or when you enable debug
   mode?
 *  Thread Starter [michaelsmartmove](https://wordpress.org/support/users/michaelsmartmove/)
 * (@michaelsmartmove)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/deprecated-function-with-php-8-1/#post-15784790)
 * The website still loads but I do get the error when I enable debug mode.
 *  [NHWS](https://wordpress.org/support/users/nhws/)
 * (@nhws)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/deprecated-function-with-php-8-1/#post-16099797)
 * Was this resolved? I get the same warning (a lot!) with php 8.1.10 and Manage
   WP Worker 4.9.14
 *  Plugin Support [Filip Mikić](https://wordpress.org/support/users/fmikic/)
 * (@fmikic)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/deprecated-function-with-php-8-1/#post-16103740)
 * Hey there,
 * It appears that there are some minor incompatibilities between the last version
   of our Worker plugin and PHP 8.1.
 * Our developers are aware of this problem, and they are working towards resolving
   it, thank you for your feedback.
 *  [handig](https://wordpress.org/support/users/handig/)
 * (@handig)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-with-php-8-1/#post-16180333)
 * Hi,
    Maybe the problem is bigger. I think this issue also leads to critical errors.
 * I have PHP 8.1 and ManageWP Worker 4.9.15. Get the same notices. Site seems to
   work okay, but when a form is submitted I get an critical error. The debug log
   doesn’t log it. But I made a screenshot video where the error is displayed: /
   wp-content/plugins/worker/src/MWP/Worker/Request.php on line 198
 * I contacted ManageWP support, hope they get a solution for this. As a workaround
   I enabled the PHP extension PDO. Don’t know why, but the critical error doesn’t
   occur when that is enabled.
 *  [Eusebiu Oprinoiu](https://wordpress.org/support/users/eusebiuoprinoiu/)
 * (@eusebiuoprinoiu)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-with-php-8-1/#post-16230728)
 * Are there any updates about this?
    I would like to move to PHP 8.1, and the ManageWP
   Worker is the only plugin that prevents me from doing it.
 * I see multiple deprecation warnings and generic warnings like the one below:
 * `Warning: Cannot modify header information - headers already sent by [file-path]`
 *  Plugin Support [Filip Mikić](https://wordpress.org/support/users/fmikic/)
 * (@fmikic)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-with-php-8-1/#post-16241010)
 * Hey,
 * Would you mind opening a ticket from your ManageWP dashboard with as much information
   as you can so that we can forward it to our devs?
 * Cheers,

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

The topic ‘Deprecated function with PHP 8.1’ is closed to new replies.

 * ![](https://ps.w.org/worker/assets/icon.svg?rev=1015191)
 * [ManageWP Worker](https://wordpress.org/plugins/worker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/worker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/worker/)
 * [Active Topics](https://wordpress.org/support/plugin/worker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/worker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/worker/reviews/)

## Tags

 * [php 8](https://wordpress.org/support/topic-tag/php-8/)

 * 9 replies
 * 6 participants
 * Last reply from: [Filip Mikić](https://wordpress.org/support/users/fmikic/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-with-php-8-1/#post-16241010)
 * Status: not resolved