Comments (2)
I can confirm the above.
How did you deal with this @anasmoiz ? Did you find a workaround of any kind?
from search-replace-db.
It's not a solution, but I found a bit of a workaround. The problem is that in PHP 8, the PDO class switched from defaulting in SILENT mode to defaulting to EXCEPTION mode (https://php.watch/versions/8.0/PDO-default-errmode)
It doesn't solve the underlying problem (you are trying to insert invalid data to the database), but you can get it to ignore the errors and continue if you add the following line to srdb.class.php:
$params[ PDO::ATTR_ERRMODE ] = PDO::ERRMODE_SILENT;
Insert that around line 558, right before they explicitly set ERRMODE to EXCEPTION when the code is running in debug mode.
It's gotten the code running for me again. Hope it helps.
from search-replace-db.
Related Issues (20)
- Incomplete or ill-typed serialization data HOT 14
- Array to string conversion when using regex
- Escaped URLs are not found HOT 4
- Skip the tables HOT 1
- found AJAX error
- Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in srdb.class.php on line 861
- Escaped URL seems to be ignored with Regex
- -bash: !28: event not found HOT 3
- Make selected tables filterable HOT 1
- Erroneous data format for unserializing HOT 1
- Highlighting is gone after version 4.0, Can you bring it back? HOT 1
- Errors on PHP 8.1 HOT 6
- INFO: Local database connection refused HOT 1
- db: SQLSTATE[HY000] [2002] Connection refused
- table name 'wp_mmp_rechnung_history_2014-05-19' crashes srdb HOT 1
- Does not work on php 8.2+ 8.3 runs into a loop and a fatal. HOT 2
- Exclude tables with * wildcard
- Abandoned?
- syntax error, unexpected namespaced name "WpOrg\Requests\Utility\CaseIns...", expecting identifier
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from search-replace-db.