• Resolved thomasjulienalain

    (@thomasjulienalain)


    Hello !

    For the first time I have an error with Adminimize.
    I’m unable to replicate this issue with the same installed plugins and theme. No further errors are displayed in debug mode.

    The metabox are not displayed after the “Menu options” that shows an error.

    Warning: Cannot add element to the array as the next element is already occupied in /wp-content/plugins/adminimize/inc-options/menu_options.php on line 83

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter thomasjulienalain

    (@thomasjulienalain)

    I managed to fix this temporirally by addind a return in the plugin /inc-options/menu_options.php file.

    <?php
    /**
     * @package    Adminimize
     * @subpackage Menu, Submenu Options
     * @author     Frank Bültge
     */
    if ( ! function_exists( 'add_action' ) ) {
    	echo "Hi there!  I'm just a part of plugin, not much I can do when called directly.";
    	exit;
    }
    return; // force return
    ?>

    Then I uploaded an existing json config, and it worked. I removed the “return” and all metabox where there.

    But after I saved again after some changes, the problem come back.

    Thread Starter thomasjulienalain

    (@thomasjulienalain)

    Issue solved !

    One of my admin menu item had a position value of PHP_INT_MAX.

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

The topic ‘Menu options are not loading’ is closed to new replies.