WPBones icon indicating copy to clipboard operation
WPBones copied to clipboard

Error due to table prefix with mixed uppercase and lowercase letters.

Open bredecl opened this issue 9 months ago • 0 comments

In this file https://github.com/wpbones/WPBones/blob/43fce076c1a8d2234d4d554454422630cc99d2c7/src/Database/DB.php#L111

When the DB prefix is something like qgQezmtYw_, it gets converted into qgQezmtYw_qg_qezmt_yw_. To fix this, comment out that line and replace $only = array_pop($paths); with $name = array_pop($paths);. That should work fine.

I'm keeping this here as a reference and will try to work on a permanent solution later.

bredecl avatar Apr 10 '25 20:04 bredecl