Hey @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
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
Re
I think it’s only in local mode. I just test in normal mode and it’s ok.
@tumazul, Local mode as in development mode or your localhost site setup?
@tumazul, Should I close it then? As I can’t replicate it and seems to be working fine for you.
Thanks, Umesh