Support » Plugin: Max Mega Menu » White screen on /nav-menus.php, can’t edit menus

  • Resolved jgoldberg730

    (@jgoldberg730)


    I’m trying to edit my menus but when the plugin is active, I’m getting a blank white screen. On inspection of the site, the only code showing up is the following:

    <script type="text/javascript">
    addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
    var ajaxurl = '/wp-admin/admin-ajax.php',
    	pagenow = 'nav-menus',
    	typenow = '',
    	adminpage = 'nav-menus-php',
    	thousandsSeparator = ',',
    	decimalPoint = '.',
    	isRtl = 0;
    </script>
Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi jgoldberg,

    Please could you check your hosting error logs and paste the last few errors?

    Regards,
    Tom

    I do have the same issue on one of my websites.
    Can I send you the hosting error log? Can I do that in a private message though? Thanks

    Plugin Author megamenu

    (@megamenu)

    Hi horsebutte,

    It would be easier if we could keep it all on this thread, if possible. You can remove any identifying information from the error logs. It’s just the errors themselves I need to see from the last few entries (so trigger the error, then check the logs).

    Regards,
    Tom

    Hi Tom, thanks for the reply.
    I tried one more time if there is a compatibility issue with other plugins, and I found which one is triggering the issue. Event Espresso. Too bad that is a very important plugin for me. Don’t know how to solve this yet. Do you have an idea why this might happen? Thanks

    Plugin Author megamenu

    (@megamenu)

    Hi Horsebutte,

    It may just be that your server is running out of memory, and you need to increase the memory limit:

    https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/

    If you can’t find your error logs, then try enabling WP_DEBUG instead:

    https://docs.whmpress.com/faq/how-to-enable-or-disable-wp_debug-using-file-manager/

    Then trigger the white screen again. Hopefully, now that WP_DEBUG is enabled, the error will be output on the white screen.

    Regards,
    Tom

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; FacebookLikeBoxWidget has a deprecated constructor in /home/ccopho5/public_html/wp-content/plugins/facebook-like-box-widget/facebook-like-box-widget.php on line 13

    Warning: Cannot modify header information – headers already sent by (output started at /home/ccopho5/public_html/wp-content/plugins/facebook-like-box-widget/facebook-like-box-widget.php:13) in /home/ccopho5/public_html/wp-content/plugins/wp-simple-firewall/src/processors/headers.php on line 44

    Warning: Cannot modify header information – headers already sent by (output started at /home/ccopho5/public_html/wp-content/plugins/facebook-like-box-widget/facebook-like-box-widget.php:13) in /home/ccopho5/public_html/wp-content/plugins/wp-simple-firewall/src/processors/headers.php on line 44

    Warning: Cannot modify header information – headers already sent by (output started at /home/ccopho5/public_html/wp-content/plugins/facebook-like-box-widget/facebook-like-box-widget.php:13) in /home/ccopho5/public_html/wp-content/plugins/wp-simple-firewall/src/processors/headers.php on line 44

    Warning: Cannot modify header information – headers already sent by (output started at /home/ccopho5/public_html/wp-content/plugins/facebook-like-box-widget/facebook-like-box-widget.php:13) in /home/ccopho5/public_html/wp-content/plugins/wp-simple-firewall/src/processors/headers.php on line 44

    Notice: The called constructor method for WP_Widget in FacebookLikeBoxWidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/ccopho5/public_html/wp-includes/functions.php on line 3903

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/ccopho5/public_html/wp-content/plugins/facebook-like-box-widget/facebook-like-box-widget.php:13) in /home/ccopho5/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Session.core.php on line 562

    Warning: Cannot modify header information – headers already sent by (output started at /home/ccopho5/public_html/wp-content/plugins/facebook-like-box-widget/facebook-like-box-widget.php:13) in /home/ccopho5/public_html/wp-admin/includes/misc.php on line 1116

    Fatal error: Uncaught InvalidArgumentException: The namespace for this manifest file has already been registered, choose a namespace other than event-espresso-core-regespressophp in /home/ccopho5/public_html/wp-content/plugins/event-espresso-core-reg/core/services/assets/Registry.php:463 Stack trace: #0 /home/ccopho5/public_html/wp-content/plugins/event-espresso-core-reg/core/services/assets/Registry.php(444): EventEspresso\core\services\assets\Registry->registerManifestFile(‘event-espresso-…’, ‘https://www.cco…&#8217;, ‘/home/ccopho5/p…’) #1 /home/ccopho5/public_html/wp-includes/class-wp-hook.php(286): EventEspresso\core\services\assets\Registry->registerManifestFiles(‘widgets.php’) #2 /home/ccopho5/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /home/ccopho5/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /home/ccopho5/public_html/wp-content/plugins/megamenu/megamenu.php(142): do_action(‘admin_enqueue_s…’, ‘widgets.php’) #5 /home/ccopho5/public_html/wp-incl in /home/ccopho5/public_html/wp-content/plugins/event-espresso-core-reg/core/services/assets/Registry.php on line 463

    Josh Feck

    (@builtbynorthby)

    Hi Horsebutte,

    That’s definitely on Event Espresso 4 for throwing an exception, and the next version update of Event Espresso 4 (4.9.63.p) will include a fix for this. In the meantime you can open up the megamenu.php file and change this:

    do_action( 'admin_enqueue_scripts', 'widgets.php' );

    to:

    if( !did_action( 'admin_enqueue_scripts' ) ){
        do_action( 'admin_enqueue_scripts', 'widgets.php' );
    }

    which will avoid the fatal error for the time being.

    Thank you Josh. This worked.
    Once EE comes with the update, do I need to make changes to Max Mega menu again?
    Ranchosouth

    Josh Feck

    (@builtbynorthby)

    Yes you can undo the changes after updating.

    Perfect. Thanks a lot.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘White screen on /nav-menus.php, can’t edit menus’ is closed to new replies.