Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Jose Mortellaro

    (@giuse)

    Can you please add more details or share a screenshot?

    Thanks.

    @surferking

    Thread Starter Marcus Quinn

    (@surferking)

    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.

    Thread Starter Marcus Quinn

    (@surferking)

    Let’s try this screenshot service:

    https://pasteboard.co/ZsOYHyYIVTuZ.png

    Thread Starter Marcus Quinn

    (@surferking)

    Thread Starter Marcus Quinn

    (@surferking)

    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

    (@surferking)

    Urg, it’s happened again.

    Plugin Author Jose Mortellaro

    (@giuse)

    Hi @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

    (@surferking)

    Thanks. This patch fixes it, if you could consider applying, please?

    freesoul-deactivate-plugins/admin/templates/partials/nav-menu-items/menu-item-archives.php

    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.
    Thread Starter Marcus Quinn

    (@surferking)

    Reminder that the above patch fixes the issue, if you could consider including for the next update, please?

    Plugin Author Jose Mortellaro

    (@giuse)

    Hi @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

    (@surferking)

    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

    (@giuse)

    Hi @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.wp.xz.cn/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.