Support » Plugin: Ozh' Admin Drop Down Menu » PLEASE ADOPT THIS PLUGIN!!!

  • Resolved Ray Gulick

    (@raygulick)


    This great little plugin has not been updated in 4 years and needs an update to work with PHP 7.2:
    Warning: count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/ozh-admin-drop-down-menu/inc/core.php on lineĀ 311

    While another user mentioned W2O as an alternative, it has its own problems, and while newer, the developer no longer responds.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Timothy

    (@seahawknationblog)

    Can somebody please fix line 311 to work with 7.2 PHP so we can use this plugin!~

    Warning: count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/ozh-admin-drop-down-menu/inc/core.php on line 311

    if (!count($wp_ozh_adminmenu)) {
    $wp_ozh_adminmenu = (array)get_option(‘ozh_adminmenu’);
    unset($wp_ozh_adminmenu[0]);
    }

    • This reply was modified 8 months, 1 week ago by Timothy.

    I found a fix, but still hoping for adoption:

    if (!is_array($wp_ozh_adminmenu) || !count($wp_ozh_adminmenu)) {
        $wp_ozh_adminmenu = (array)get_option('ozh_adminmenu');
        unset($wp_ozh_adminmenu[0]);
    }
    • This reply was modified 8 months, 1 week ago by Ray Gulick.
    Timothy

    (@seahawknationblog)

    Thanks Ray, needs a new Coder to take it over! Working with the W2O plugin now, hate that it has no options page though…

    More serious usability problem with W2O: If you arrive at the edit screen of a page or post, and before editing anything and saving, you decide you want to look at the page or post again. Where is the ‘View Page’ or ‘View Post’ link that should reside in the admin bar? You have to hit ‘update’ to make the ‘view’ link appear above the page/post title.

    • This reply was modified 8 months, 1 week ago by Ray Gulick.
    • This reply was modified 8 months, 1 week ago by Ray Gulick.
    Timothy

    (@seahawknationblog)

    Just started running into this exact same issue today Ray, damned if i do and damned if i don’t!

    Napalm44

    (@napalm44)

    deleted

    • This reply was modified 6 months ago by Napalm44.

    I’d love to adopt this plugin, as I’ve made several modifications on my website. What next?

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.