I’m sorry you’re having trouble with my plugin. Please provide more information so that I can fix the errors. Thank you.
I finally tracked down the error. It changes the wp_config.php file, but does not remove the changes when the plugin is deleted. What caused an error for me, is that virtually everything the plugin did, I had already done manually, so the duplicate changes, themselves caused errors (or warnings).
So, the plugin should check first to make sure it isn’t repeating code already in place, and when removed, remove only the changes it made.
You could surround the changes with…
/* Changes made by [plugin name] */
[actually additions to the script]
/* end of changes made by [plugin name] */
…then remove the comments and whatever is between them when the plugin is deactivated or deleted.
-
This reply was modified 1 year, 10 months ago by
DannyCarlton.
Thank you Danny for providing additional insights. You’ve highlighted an important aspect that developers often face: capturing the modifications made by other plugins or manually, which can sometimes lead to unintended consequences. Based on your feedback, I’m actively looking into ways to improve the plugin in the future and reduce the risk of it impacting existing changes.
I genuinely appreciate your feedback. This side project is a passion of mine, and I believe it has potential to benefit the community with more development tools. Your enthusiasm for the project is evident, and I’m always open to welcoming contributors who share a similar passion. If you’re interested.
As the project evolves and improves, I hope you’ll consider revisiting your current rating. Ratings do play a significant role in helping others discover and benefit from the plugin. Thank you again for your valuable feedback and for helping to make this project better for everyone.