Title: Call to Undefined Function after Update
Last modified: May 5, 2026

---

# Call to Undefined Function after Update

 *  [WP CMS Ninja](https://wordpress.org/support/users/billiardgreg/)
 * (@billiardgreg)
 * [1 week, 5 days ago](https://wordpress.org/support/topic/call-to-undefined-function-after-update-2/)
 * While I saw someone else was having an issue with version 3.1.0, I to am having
   an issue but it is a little bit different so figured it needed to be a different
   support ticket:
 *     ```wp-block-code
       [05-May-2026 14:41:58 UTC] PHP Fatal error: Uncaught Error: Call to undefined function set_current_screen() in /home/[site]/public_html/wp-admin/admin-header.php:37Stack trace: 0 /home/[site]/public_html/wp-admin/options.php(379): require_once() 1 /home/[site]/public_html/wp-content/plugins/wp-mapit/wp_mapit.php(59): require_once('/home/[site]…') 2 [internal function]: WpMapit{closure}('Options') 3 /home/[site]/public_html/wp-content/themes/Nebula-main/libs/Options/Options.php(5): trait_exists('Options') 4 /home/[site]/public_html/wp-content/themes/Nebula-main/nebula.php(14): require_once('/home/[site]…') 5 /home/[site]/public_html/wp-content/themes/BOU2020/functions.php(4): require_once('/home/[site]…') 6 /home/[site]/public_html/wp-settings.php(710): include('/home/[site]…') 7 /home/[site]/public_html/wp-config.php(97): require_once('/home/[site]…') 8 /home/[site]/public_html/wp-load.php(50): require_once('/home/[site]…') 9 /home/[site]/public_html/wp-admin/admin.php(35): require_once('/home/[site]…') 10 /home/[site]/public_html/wp-admin/index.php(10): require_once('/home/[site]…') 11 {main}  thrown in /home/[site]/public_html/wp-admin/admin-header.php on line 37
       ```
   
 * I am not seeing a set_current_screen anywhere in the WP MapIt plugin but I am
   wondering what may be causing this issue. Reverting back to the previously installed
   version of Version 3.0.3 gets the system back up and running without issue.
 * If you can please provide assistance with trying to track down what may be going
   on with this and how to possibly resolve it. Thanks in advanced.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Chandni Patel](https://wordpress.org/support/users/phpwebdev/)
 * (@phpwebdev)
 * [6 days, 3 hours ago](https://wordpress.org/support/topic/call-to-undefined-function-after-update-2/#post-18905323)
 * [@billiardgreg](https://wordpress.org/support/users/billiardgreg/) Firstly, sorry
   for the delay. Can you please update the latest version 3.1.1, the issue is resolved.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcall-to-undefined-function-after-update-2%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wp-mapit/assets/icon.svg?rev=2071970)
 * [WP MapIt](https://wordpress.org/plugins/wp-mapit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mapit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mapit/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mapit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mapit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mapit/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chandni Patel](https://wordpress.org/support/users/phpwebdev/)
 * Last activity: [6 days, 3 hours ago](https://wordpress.org/support/topic/call-to-undefined-function-after-update-2/#post-18905323)
 * Status: not resolved