Title: Cannot deactivate plugin
Last modified: May 9, 2023

---

# Cannot deactivate plugin

 *  Resolved [Benedikt Ledl](https://wordpress.org/support/users/benniledl/)
 * (@benniledl)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-plugin-16/)
 * Hello, I get an error from login-designer and it does not go away even after 
   deactivating the plugin:
 * Fatal error: Uncaught Error: Call to a member function get_page_permastruct()
   on null in /var/home/my-domain_at/www/neu/wp-includes/link-template.php:431 Stack
   trace: #0 /var/home/my-domain_at/www/neu/wp-includes/link-template.php(393): 
   _get_page_link(Object(WP_Post), false, false) #1 /var/home/my-domain_at/www/neu/
   wp-includes/link-template.php(197): get_page_link(Object(WP_Post), false, false)#
   2 /var/home/my-domain_at/www/neu/wp-content/plugins/login-designer/login-designer.
   php(236): get_permalink(Object(WP_Post)) #3 /var/home/my-domain_at/www/neu/wp-
   content/plugins/login-designer/login-designer.php(68): Login_Designer->login_designer()#
   4 /var/home/my-domain_at/www/neu/wp-content/plugins/login-designer/login-designer.
   php(668): Login_Designer::instance() #5 /var/home/my-domain_at/www/neu/wp-content/
   plugins/login-designer/login-designer.php(672): login_designer() #6 /var/home/
   my-domain_at/www/neu/wp-settings.ph in /var/home/my-domain_at/www/neu/wp-includes/
   link-template.php on line 431

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * (@haseeb0001)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-plugin-16/#post-16722658)
 * Hi [@benniledl](https://wordpress.org/support/users/benniledl/) ,
   Thanks for 
   sharing the details. The issue has been fixed in Version **1.6.1**. Please update
   and confirm if the issue is resolved.
 * Thanks and regards,
   Support Team – WPExperts
 *  Thread Starter [Benedikt Ledl](https://wordpress.org/support/users/benniledl/)
 * (@benniledl)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-plugin-16/#post-16722864)
 * Worked now, thank you!!
 *  Thread Starter [Benedikt Ledl](https://wordpress.org/support/users/benniledl/)
 * (@benniledl)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-plugin-16/#post-16722896)
 * Hello,
 * can you please review your deactivation or uninstallation script?
 * I do not have any issues with it but because the error that i just had was still
   there after i deactivated your plugin makes me think maybe your plugin does not
   properly deactivate itself.
 *  [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * (@haseeb0001)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-plugin-16/#post-16725327)
 * [@benniledl](https://wordpress.org/support/users/benniledl/) theoretically WordPress
   includes files only if the plugin is activated. Your case seems to be related
   to some sort of server cache. Anyways glad to hear that it is resolved now.
 * Thanks and regards,
   Support Team – WPExperts

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cannot deactivate plugin’ is closed to new replies.

 * ![](https://ps.w.org/login-designer/assets/icon-256x256.gif?rev=2824215)
 * [Custom Login Page Customizer - Login Designer](https://wordpress.org/plugins/login-designer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/login-designer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/login-designer/)
 * [Active Topics](https://wordpress.org/support/plugin/login-designer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/login-designer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/login-designer/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-plugin-16/#post-16725327)
 * Status: resolved