Title: Plugin admin pages are blank
Last modified: June 13, 2023

---

# Plugin admin pages are blank

 *  Resolved [Marcus Quinn](https://wordpress.org/support/users/surferking/)
 * (@surferking)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-admin-pages-are-blank/)
 * Any ideas? Collapsed left admin nav also looks messy:

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

 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-admin-pages-are-blank/#post-16815397)
 * Can you please add more details or share a screenshot?
 * Thanks.
 * [@surferking](https://wordpress.org/support/users/surferking/)
 *  Thread Starter [Marcus Quinn](https://wordpress.org/support/users/surferking/)
 * (@surferking)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-admin-pages-are-blank/#post-16816929)
 * Sorry, haven’t manage to get a screenshot to upload here for some reason. Copy/
   paste shows the Gutenburg image block, but it doesn’t seem to submit.
 * ![](https://wordpress.org/bfd3030a-a154-4a59-ae25-c7245afdc1e1)
 *  Thread Starter [Marcus Quinn](https://wordpress.org/support/users/surferking/)
 * (@surferking)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-admin-pages-are-blank/#post-16816932)
 * Let’s try this screenshot service:
 * [https://pasteboard.co/ZsOYHyYIVTuZ.png](https://pasteboard.co/ZsOYHyYIVTuZ.png)
 *  Thread Starter [Marcus Quinn](https://wordpress.org/support/users/surferking/)
 * (@surferking)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-admin-pages-are-blank/#post-16816935)
 *  [https://pasteboard.co/ZsOYHyYIVTuZ.png](https://pasteboard.co/ZsOYHyYIVTuZ.png)
 *  Thread Starter [Marcus Quinn](https://wordpress.org/support/users/surferking/)
 * (@surferking)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-admin-pages-are-blank/#post-16818819)
 * We think we’ve fixed it, but not 100% certain how.
 * Basically, started debugging, and it started working again.
 * This suggests it could have been a caching issue of some kind.
 * Any way to avoid caching in the plugin, or ensure it busts the cache if not fully
   loaded?
 *  Thread Starter [Marcus Quinn](https://wordpress.org/support/users/surferking/)
 * (@surferking)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-admin-pages-are-blank/#post-16819033)
 * Urg, it’s happened again.
 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-admin-pages-are-blank/#post-16822428)
 * Hi [@surferking](https://wordpress.org/support/users/surferking/)
 * this issue is a little strange. The cache is only of the FDP navigation.
 * Can you please do as follow?:
    - Add these lines in wp-config.php before the comment /* That’s all, stop editing!
      Happy publishing. */: 
      define( ‘WP_DEBUG’, true );define( ‘WP_DEBUG_DISPLAY’,
      false );define( ‘WP_DEBUG_LOG’, true );
    - Go to a FDP backend page where you have the issue
    - Click on the triangle on the top right to expand the admin top bar
    - Click on Refresh FDP Navigation
    - Let me know what you find in wp-content/debug.log
 * At the moment there is no way to exclude the internal cache of the FDP navigation.
   I will add a way to do it with the next version.
   However. In the case of the 
   cache, the problem is saved in the cache, but I suppose without the cache you
   would also have this strange problem.
 * If you find any errors in wp-content/debug.log let me know. In another case I
   will give you more suggestions for deeper investigating this issue.
 * Have a great day!
 * Jose
 *  Thread Starter [Marcus Quinn](https://wordpress.org/support/users/surferking/)
 * (@surferking)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-admin-pages-are-blank/#post-16824270)
 * Thanks. This patch fixes it, if you could consider applying, please?
 * freesoul-deactivate-plugins/admin/templates/partials/nav-menu-items/menu-item-
   archives.php
 *     ```wp-block-code
       19,20c19,25
       <         $labels = get_post_type_labels( $postTypeObj );
       <         $labels_names[] = isset( $labels->name ) ? $labels->name : $labels_name;
       ---
       >         if ( $postTypeObj ) {
       >               $labels = get_post_type_labels( $postTypeObj );
       >               if ( $labels && isset( $labels->name )) {
       >                  $labels_name = $labels->name;
       >               }
       >         }
       >         $labels_names[] = $labels_name;
       ```
   
    -  This reply was modified 2 years, 12 months ago by [Marcus Quinn](https://wordpress.org/support/users/surferking/).
 *  Thread Starter [Marcus Quinn](https://wordpress.org/support/users/surferking/)
 * (@surferking)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-admin-pages-are-blank/#post-16863294)
 * Reminder that the above patch fixes the issue, if you could consider including
   for the next update, please?
 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-admin-pages-are-blank/page/2/#post-16864512)
 * Hi [@surferking](https://wordpress.org/support/users/surferking/)
 * sorry for not writing back soon. Yes, I’ve already fixed that issue in the beta
   version taking inspiration from your code. Thank you very much!
 * Have a great day!
 * Jose
 *  Thread Starter [Marcus Quinn](https://wordpress.org/support/users/surferking/)
 * (@surferking)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-admin-pages-are-blank/page/2/#post-16872662)
 * Ahh, brilliant!
 * Honestly, very happy to have found your work, and I’m certain many others are,
   too.
 * The world thanks you! 🙂
 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-admin-pages-are-blank/page/2/#post-16949319)
 * Hi [@surferking](https://wordpress.org/support/users/surferking/)
 * sorry for answering so late. It was a very intensive period.
 * Many thanks to you for contributing to the improvement of the plugin.
 * The new version is still not public. It will be soon. I hope in one week. If 
   you need the fix earlier and have a staging environment maybe you can try the
   beta version that you find here: [https://downloads.wordpress.org/plugin/freesoul-deactivate-plugins.2.0.0.beta-2.zip](https://downloads.wordpress.org/plugin/freesoul-deactivate-plugins.2.0.0.beta-2.zip)
 * Have a great day!
 * Jose

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

The topic ‘Plugin admin pages are blank’ is closed to new replies.

 * ![](https://ps.w.org/freesoul-deactivate-plugins/assets/icon-256x256.png?rev=
   2847508)
 * [Freesoul Deactivate Plugins - Disable plugins on individual WordPress pages](https://wordpress.org/plugins/freesoul-deactivate-plugins/)
 * [Support Threads](https://wordpress.org/support/plugin/freesoul-deactivate-plugins/)
 * [Active Topics](https://wordpress.org/support/plugin/freesoul-deactivate-plugins/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/freesoul-deactivate-plugins/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/freesoul-deactivate-plugins/reviews/)

 * 20 replies
 * 2 participants
 * Last reply from: [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-admin-pages-are-blank/page/2/#post-16949319)
 * Status: resolved