• 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

    (@shteffk)

    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

    (@michaelsmartmove)

    Hi @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.

    Plugin Support shteffk

    (@shteffk)

    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

    (@michaelsmartmove)

    The website still loads but I do get the error when I enable debug mode.

    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?

    (@fmikic)

    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

    (@handig)

    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

    (@eusebiuoprinoiu)

    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?

    (@fmikic)

    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.