WordPress.org

Ready to get started?Download WordPress

Forums

Fluency Admin
Menu children disappear (2 posts)

  1. Wil
    Member
    Posted 2 years ago #

    Installed plugin v3.2 but when activated, the admin menu expanded children items disappear.

    The main tab for each menu is available but they don't expand so I can't see any of the options underneath.

    For example, clicking on Posts, I can see the list of posts but don't see the expanded options All Posts, Add New, Categories nor Post Tags.

    Deactivating the plugin restored the admin menu.

    Wil.

    http://wordpress.org/extend/plugins/fluency-admin/

  2. christiaanderidder
    Member
    Posted 2 years ago #

    The issue is caused by the way windows paths are made up. You can fix it by opening /wp-content/plugins/fluency-admin/css/load-styles.php and on line 12 change the code from:

    /** Set ABSPATH for execution */
    $abspath = dirname(dirname(__FILE__)) . '/';
    define( 'THISABSPATH' ,substr($abspath,strpos($abspath,'wp-content/')));
    define( 'ABSPATH' ,substr($abspath,0,strpos($abspath,'/wp-content/')) . '/');

    To:

    /** Set ABSPATH for execution */
    $abspath = str_replace('\\','/',dirname(dirname(__FILE__))) . '/';
    define( 'THISABSPATH' ,substr($abspath,strpos($abspath,'wp-content/')));
    define( 'ABSPATH' ,substr($abspath,0,strpos($abspath,'/wp-content/')) . '/');

    This will change the backward slashes in the file path to forward slashes, so the /wp-content/ substring will work again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic