You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the runtime check process, our plugin installs new database tables for testing purposes. These tables are intended to be removed in the Runtime_Environment_Setup::clean_up method. However, in certain cases, such as when encountering conflicts with other plugins (e.g., Elementor), the tables are created but not removed.
Additionally, when a user deactivates our plugin, the tables remain in the database, leading to potential orphaned tables and unnecessary data.
To address this, we propose implementing a solution to remove these testing tables during the plugin uninstallation process. This will ensure proper cleanup and prevent any lingering database artifacts.
We suggest the following steps to resolve this issue:
I suppose this could still happen? However, I'm not sure the proposed approach to delete these tables during uninstallation is the right path. Shouldn't we rather try to catch problems during the runtime check execution and delete the tables after the process even if it fails? That would seem a more appropriate solution to me.
Describe the bug
During the runtime check process, our plugin installs new database tables for testing purposes. These tables are intended to be removed in the
Runtime_Environment_Setup::clean_up
method. However, in certain cases, such as when encountering conflicts with other plugins (e.g., Elementor), the tables are created but not removed.Additionally, when a user deactivates our plugin, the tables remain in the database, leading to potential orphaned tables and unnecessary data.
To address this, we propose implementing a solution to remove these testing tables during the plugin uninstallation process. This will ensure proper cleanup and prevent any lingering database artifacts.
We suggest the following steps to resolve this issue:
@jjgrainger @felixarntz @joemcgill Please share your thoughts and suggestions regarding this approach.
WDYT?
Steps to Reproduce
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: