Problem with retrieving plugin’s database table
-
Hello,
You might want to be careful storing the Simple Documentation table as a site option. I had to migrate a website from one environment to another, where the database prefixes were completely different.
Due to the plugin storing the Simple Documentation table, complete with the prefix, in the WordPress options table, the plugin kept trying to load data from a table that didn’t exist, and so aside from being unable to see all the content that migrated over, I was seeing database errors.
Old database table, probably from when this plugin was installed:
wp_simpledocumentation
.
New table post-migration that this plugin couldn’t locate:local_simpledocumentation
.I guess you probably have this logic in the
client-documentation.php
file for compatibility as the plugin matured. But this turned out to be a problem during migration.Thanks,
B
- The topic ‘Problem with retrieving plugin’s database table’ is closed to new replies.