• envyct

    (@envyct)


    Hi I was hoping you guys could help me? I’m using the latest version of the plugin using the latest version of WP and I get this error.

    Fatal error: Uncaught Error: Call to undefined function wp_enqueue_code_editor() in /httpdocs/wp-content/plugins/megamenu/classes/settings.class.php:3968 Stack trace: #0 /httpdocs/wp-includes/class-wp-hook.php(298): Mega_Menu_Settings->enqueue_scripts('toplevel_page_m...') #1 /httpdocs/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #2 /httpdocs/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /httpdocs/wp-content/plugins/megamenu/megamenu.php(154): do_action('megamenu_admin_...', 'toplevel_page_m...') #4 /httpdocs/wp-includes/class-wp-hook.php(298): Mega_Menu->admin_enqueue_scripts('toplevel_page_m...') #5 /httpdocs/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #6 /httpdocs/ in /httpdocs/wp-content/plugins/megamenu/classes/settings.class.php on line 3968

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi envyct,

    Please can you double check you are using the latest version of WordPress?

    The function was introduced in WordPress 4.9:

    https://developer.wordpress.org/reference/functions/wp_enqueue_code_editor/

    (and the minimum required version for MMM is WordPress 4.9).

    Regards,
    Tom

    Plugin Author megamenu

    (@megamenu)

    Hi envyct,

    Please can you install the “WP Rollback” plugin, then on your Plugins page click the “Rollback” link next to Max Mega Menu. Choose the “trunk” version at the bottom. That should work around the error on older versions of WordPress.

    Regards,
    Tom

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

The topic ‘Fatal Errors in settings page’ is closed to new replies.