Title: Call to undefined function get_current_network_id
Last modified: October 4, 2017

---

# Call to undefined function get_current_network_id

 *  Resolved [tumazul](https://wordpress.org/support/users/tumazul/)
 * (@tumazul)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/call-to-undefined-function-get_current_network_id/)
 * Hi,
    I have this : Fatal error: Call to undefined function get_current_network_id()
   in D:\www\vertic\wp-content\plugins\wp-smushit\lib\class-wp-smush-ui.php on line
   730

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

 *  [Umesh Kumar](https://wordpress.org/support/users/umeshsingla/)
 * (@umeshsingla)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/call-to-undefined-function-get_current_network_id/#post-9556252)
 * Hey [@tumazul](https://wordpress.org/support/users/tumazul/),
 * Thanks for reporting this. While I try to replicate this on my setup in here,
   Can you please give me some more details about your website setup?
 * It’s definitely not a multisite? Do you get the error on Smush page load? Or 
   do you get the error when Bulk Smush is finished?
 * If you can please any other details that can help me replicate the issue that’d
   be helpful.
 * Thanks, Umesh
 *  Thread Starter [tumazul](https://wordpress.org/support/users/tumazul/)
 * (@tumazul)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/call-to-undefined-function-get_current_network_id/#post-9556271)
 * Hey,
    It’s a multisite yes. I get the error when I go to Media > WP Smush thanks
 *  Fatal error: Call to undefined function get_current_network_id() in D:\www\vertic\
   wp-content\plugins\wp-smushit\lib\class-wp-smush-ui.php on line 730
    Call Stack#
   Time Memory Function Location 1 0.0008 372224 {main}( ) ..\upload.php:0 2 0.0013
   441800 require_once( ‘D:\www\vertic\wp-admin\admin.php’ ) ..\upload.php:10 3 
   1.4165 71667752 do_action( ) ..\admin.php:236 4 1.4165 71669280 call_user_func_array:{
   D:\www\vertic\wp-includes\plugin.php:525} ( ) ..\plugin.php:525 5 1.4165 71669704
   WpSmushBulkUi->ui( ) ..\plugin.php:525 6 1.4560 71733200 WpSmushBulkUi->bulk_smush_container()..\
   class-wp-smush-ui.php:604 7 1.4564 71734272 WpSmushBulkUi->bulk_smush_content()..\
   class-wp-smush-ui.php:146
 *  Thread Starter [tumazul](https://wordpress.org/support/users/tumazul/)
 * (@tumazul)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/call-to-undefined-function-get_current_network_id/#post-9556457)
 * Re
    I think it’s only in local mode. I just test in normal mode and it’s ok.
 *  [Umesh Kumar](https://wordpress.org/support/users/umeshsingla/)
 * (@umeshsingla)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/call-to-undefined-function-get_current_network_id/#post-9557712)
 * [@tumazul](https://wordpress.org/support/users/tumazul/), Local mode as in development
   mode or your localhost site setup?
 *  Thread Starter [tumazul](https://wordpress.org/support/users/tumazul/)
 * (@tumazul)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/call-to-undefined-function-get_current_network_id/#post-9558466)
 * localhost site setup
 *  [Umesh Kumar](https://wordpress.org/support/users/umeshsingla/)
 * (@umeshsingla)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/call-to-undefined-function-get_current_network_id/#post-9570669)
 * [@tumazul](https://wordpress.org/support/users/tumazul/), Should I close it then?
   As I can’t replicate it and seems to be working fine for you.
 * Thanks, Umesh
 *  Thread Starter [tumazul](https://wordpress.org/support/users/tumazul/)
 * (@tumazul)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/call-to-undefined-function-get_current_network_id/#post-9570700)
 * Yes !

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

The topic ‘Call to undefined function get_current_network_id’ is closed to new replies.

 * ![](https://ps.w.org/wp-smushit/assets/icon-256x256.gif?rev=3447113)
 * [Smush – Image Optimization, Compression, Lazy Load, WebP & CDN](https://wordpress.org/plugins/wp-smushit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-smushit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-smushit/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-smushit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-smushit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-smushit/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [tumazul](https://wordpress.org/support/users/tumazul/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/call-to-undefined-function-get_current_network_id/#post-9570700)
 * Status: resolved