Hi Ryan,
thanks for the confirmation that this worked.
Basically, I simply ran the code through the PHP function “stripslashes()”.
I did however not use a PHP script for that, but used a nice tool that provides that function without having to create a script: https://www.tools4noobs.com/online_php_functions/stripslashes/
Now, after trying the output from that, I still had the same problem. That’s when I saw that I might have actually stripped too many slashes: Those within the table cells (in your case especially those infront of '
) needed to be kept.
I didn’t really know how to re-add those (a simple search and replace should actually work, if I think about it now), so I tried unserializing the string with
https://www.functions-online.com/unserialize.html
(which is another PHP function that converts the string to an “array”).
The failing of this on that site is for the same reason that it fails in the plugin.
But, the output of the site is useful: It delivered the string with '
correctly escaped.
So, I simply copied the output in the lower part of the screen, but only the part between unserialize('
and ');
, so one has to be careful there a little bit.
And with that pasted into the database, the table worked again ??
(As a final remark: As you are having some rather large tables, I suggest to regularly perform backups by exporting to CSV as well. That should save you some trouble, in case the SQL restoring results in problems like this.)
Best wishes,
Tobias