Title: After Migrate &#8211; 9 php errors wp_setup_nav_menu_item() Unknown location
Last modified: November 19, 2022

---

# After Migrate – 9 php errors wp_setup_nav_menu_item() Unknown location

 *  Resolved [rhandyx](https://wordpress.org/support/users/rhandyx/)
 * (@rhandyx)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/after-migrate-9-php-errors-wp_setup_nav_menu_item-unknown-location/)
 * ` wp-admin/includes/template.php:2233
    get_post_states() wp-includes/nav-menu.
   php:833 wp_setup_nav_menu_item() Unknown location array_map() wp-includes/nav-
   menu.php:722 wp_get_nav_menu_items() wp-includes/nav-menu-template.php:137 wp_nav_menu()
   wp-content/themes/woodmart/inc/template-tags/template-tags.php:1790 woodmart_mobile_menu()
   wp-includes/class-wp-hook.php:308 do_action(‘woodmart_before_wp_footer’) wp-content/
   themes/woodmart/footer.php:74 load_template(‘wp-content/themes/woodmart/footer.
   php’) wp-includes/template.php:718 locate_template() wp-includes/general-template.
   php:92 get_footer() wp-content/themes/woodmart/page.php:48

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

 *  Thread Starter [rhandyx](https://wordpress.org/support/users/rhandyx/)
 * (@rhandyx)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/after-migrate-9-php-errors-wp_setup_nav_menu_item-unknown-location/#post-16215443)
 * ` wp-admin/includes/template.php:2237
    get_post_states() wp-includes/nav-menu.
   php:833 wp_setup_nav_menu_item() Unknown location array_map() wp-includes/nav-
   menu.php:722 wp_get_nav_menu_items() wp-includes/nav-menu-template.php:137 wp_nav_menu()
   wp-content/themes/woodmart/inc/template-tags/template-tags.php:1790 woodmart_mobile_menu()
   wp-includes/class-wp-hook.php:308 do_action(‘woodmart_before_wp_footer’) wp-content/
   themes/woodmart/footer.php:74 load_template(‘wp-content/themes/woodmart/footer.
   php’) wp-includes/template.php:718 locate_template() wp-includes/general-template.
   php:92 get_footer(‘shop’) wp-content/themes/woodmart/woocommerce/archive-product.
   php:126
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/after-migrate-9-php-errors-wp_setup_nav_menu_item-unknown-location/#post-16216807)
 * Hey [@rhandyx](https://wordpress.org/support/users/rhandyx/)
 * Thanks for the feedback! There are a few items in the FAQ that may provide a 
   solution to this issue, this one may get you going.
 *  – Why are some of my plugins/images/links/styles not working?
    – [https://snapcreek.com/duplicator/docs/faqs-tech/#faq-installer-240-q](https://snapcreek.com/duplicator/docs/faqs-tech/#faq-installer-240-q)
 * If you would like to submit a [support ticket](https://snapcreek.com/ticket) 
   for this issue we can have a closer look at your setup. Please provide a link
   to this forum thread when submitting the ticket.
 * Hope this helps~
 *  Thread Starter [rhandyx](https://wordpress.org/support/users/rhandyx/)
 * (@rhandyx)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/after-migrate-9-php-errors-wp_setup_nav_menu_item-unknown-location/#post-16218585)
 * Hi
 * Sorry!
    This issue is not because duplicator.
 * Issue occurs when I activate cache plugins like wprocket or litespeed cache.
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/after-migrate-9-php-errors-wp_setup_nav_menu_item-unknown-location/#post-16220508)
 * Thanks for the update!

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

The topic ‘After Migrate – 9 php errors wp_setup_nav_menu_item() Unknown location’
is closed to new replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/after-migrate-9-php-errors-wp_setup_nav_menu_item-unknown-location/#post-16220508)
 * Status: resolved