Title: errors during deactivation/uninstall process
Last modified: May 1, 2023

---

# errors during deactivation/uninstall process

 *  Resolved [delibird666](https://wordpress.org/support/users/delibird666/)
 * (@delibird666)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/errors-during-deactivation-uninstall-process/)
 * Hello there,
 * I am not sure if this plugin developer is active or not. I have to transfer my
   problem about a website.
 * I have WordPress 6.1.1 installed, RankMath SEO and a theme MH joystic.
   For some
   reason, author.php is missing from MH joystick.Before install any plugin, i got
   404 error on author’s page.
 * I have try to install the “Change Author Link Structure” plugin, same result,
   404 on author’s page.
 * I have try to uninstall the “Change Author Link Structure” plugin, and my website
   toasted. Got on my email the following debug :
 * **Error Details**
 * An error of type E_ERROR was caused in line 167 of the file /home/****/public_html/
   wp-content/plugins/change-author-link-structure/lib/class-change-author-link-
   structure.php. Error message: Uncaught Error: Cannot unset string offsets in /
   home/****/public_html/wp-content/plugins/change-author-link-structure/lib/class-
   change-author-link-structure.php:167
   Stack trace:
 * **0 /home/\*\*\*\*/public_html/wp-content/plugins/change-author-link-structure/
   lib/class-change-author-link-structure.php(114): Change_Author_Link_Structure::
   remove_plugin_author_rewrite_rules()**
   **1 /home/\*\*\*\*\*/public_html/wp-includes/
   class-wp-hook.php(308): Change_Author_Link_Structure::deactivate(false)****2 /
   home/\*\*\*\*\*/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”,
   Array)****3 /home/\*\*\*\*\*/public_html/wp-includes/plugin.php(517): WP_Hook-
   >do_action(Array)****4 /home/\*\*\*\*\*/public_html/wp-admin/includes/plugin.
   php(814): do_action(‘deactivate_chan…’, false)****5 /home/\*\*\*\*\*/public_html/
   wp-admin/plugins.php(209): deactivate_plugins(‘change-author-l…’, false, false)****
   6 {main}**thrown
 * After that, i remove the folder “Change Author Link Structure” from plugins folder
   manually. Hopefully, the plugin disappeared from wordpress and everything was
   back to normal.
 * If the developer reads this thread, please do an investigation. If it’s necessary
   to remove any table from my database or not.
 * About me, i have to find out why author.php is missing from my website theme.

Viewing 1 replies (of 1 total)

 *  Plugin Author [wpyb](https://wordpress.org/support/users/wpyb/)
 * (@wpyb)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/errors-during-deactivation-uninstall-process/#post-16718084)
 * Hi,
 * thank you for providing the detailed error report. I added some handling that
   will hopefully prevent the error and released a new version 1.0.1. Unfortunately,
   I couldn’t reproduce the error with my setup. There might be a plugin in your
   installation that potentially interferes with this plugin.
 * It is not necessary to clean up your database, but I would recommend to again
   save the current permalink settings (Settings -> Permalinks -> Save Changes) 
   to flush your rewrite rule configuration.

Viewing 1 replies (of 1 total)

The topic ‘errors during deactivation/uninstall process’ is closed to new replies.

 * ![](https://ps.w.org/change-author-link-structure/assets/icon-256x256.png?rev
   =1348945)
 * [Change Author Link Structure](https://wordpress.org/plugins/change-author-link-structure/)
 * [Support Threads](https://wordpress.org/support/plugin/change-author-link-structure/)
 * [Active Topics](https://wordpress.org/support/plugin/change-author-link-structure/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/change-author-link-structure/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/change-author-link-structure/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [wpyb](https://wordpress.org/support/users/wpyb/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/errors-during-deactivation-uninstall-process/#post-16718084)
 * Status: resolved