interconnectit/Search-Replace-DB

[PHP8] SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'args' at row 1

Basilakis opened this issue · 12 comments

Hello,

We are running this with PHP8 and we receive some errors.

Does the script have php8 compatibility?

Thank you for the reply, much appreciated.

well, dear @Basilakis , could you please post the errors you get instead of tag us? 😸

@gianluigi-icit ofc I can! :)

SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'args' at row 1

and when I downgraded from PHP 8 down to php7.4 it worked

thank you, I changed the title :)

I'll take a look when I have a bit of time, unfortunately we are not working on this tool full time!

@gianluigi-icit Hey! Did you have had the chance to take a look?

@gianluigi-icit Hey! Did you have had the chance to take a look?

hello, unfortunately I didn't :(

Hello, I had time to check the minimum PHP version for this script to run and it's 5.6.16RC1

I googled your error message and seems related to some mysql configuration, downgrading php might changed something on your setup.

Did you fix it eventually?

Hi,

No seems to not working with PHP 8 at all

I setup a php8 environment and ran the script without any problem, have you check your mysql?

Yeap, I did. Happen to more than 120 WordPress applications ( running it on hosting level ).

I am sorry, you should raise the problem to your hosting, I have to close this issue.