Title: Incompatible with Menu Image-Plugin
Last modified: June 29, 2021

---

# Incompatible with Menu Image-Plugin

 *  [viosys](https://wordpress.org/support/users/viosys/)
 * (@viosys)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/incompatible-with-menu-image-plugin/)
 * Hi,
 * i want to use “Theme My Login” together with the plugin “Menu Image” (this one:
   [https://wordpress.org/support/plugin/menu-image/](https://wordpress.org/support/plugin/menu-image/)).
   If both plugins are active i cannot use the menu-management in wp-admin anymore(
   wp-admin/nav-menus.php). The page loads with an error 500 and the following Stack
   trace at the bottom:
 *     ```
       ErrorException:
       Notice: Undefined property: Theme_My_Login_Action::$ID
   
         at /var/www/wordpress/web/public/wp-content/plugins/menu-image/menu-image.php:694
         at WP_Menu_Image->menu_image_wp_setup_nav_menu_item()
            (/var/www/wordpress/web/public/wp/wp-includes/class-wp-hook.php:292)
         at WP_Hook->apply_filters()
            (/var/www/wordpress/web/public/wp/wp-includes/plugin.php:212)
         at apply_filters()
            (/var/www/wordpress/web/public/wp/wp-includes/nav-menu.php:990)
         at wp_setup_nav_menu_item()
         at array_map()
            (/var/www/wordpress/web/public/wp-content/plugins/theme-my-login/admin/functions.php:304)
         at tml_admin_nav_menu_meta_box()
            (/var/www/wordpress/web/public/wp/wp-admin/includes/template.php:1516)
         at do_accordion_sections()
            (/var/www/wordpress/web/public/wp/wp-admin/nav-menus.php:933)
       ```
   
 * I use the latest version of each parts:
    * WordPress 5.7.2 * Menu Image 3.0.4*
   Theme My Login 7.1.3
 * with PHP 7.4 on a nginx-Server.
 * Any suggestions would be welcome.

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

 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/incompatible-with-menu-image-plugin/#post-14631751)
 * Looks like this will need a fix on our end, as TML is not providing all of the
   expected properties on its “virtual” nav menu items.
 *  Thread Starter [viosys](https://wordpress.org/support/users/viosys/)
 * (@viosys)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/incompatible-with-menu-image-plugin/#post-14631796)
 * Thank you for your feedback. I am happy to help with the fix when a corrected
   version is available.
 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/incompatible-with-menu-image-plugin/#post-14631927)
 * Can you try changing line 99 of `theme-my-login/includes/hooks.php` to the following
   and see if it works?
 *     ```
       add_filter( 'wp_setup_nav_menu_item', 'tml_setup_nav_menu_item', 5, 1 );
       ```
   
 *  Thread Starter [viosys](https://wordpress.org/support/users/viosys/)
 * (@viosys)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/incompatible-with-menu-image-plugin/#post-14631968)
 * Yes, it does work. Simple as it is 🙂

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

The topic ‘Incompatible with Menu Image-Plugin’ is closed to new replies.

 * ![](https://ps.w.org/theme-my-login/assets/icon-256x256.png?rev=1891232)
 * [Theme My Login](https://wordpress.org/plugins/theme-my-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-my-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-my-login/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-my-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-my-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-my-login/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [viosys](https://wordpress.org/support/users/viosys/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/incompatible-with-menu-image-plugin/#post-14631968)
 * Status: not resolved