Hi, after the update, WP-CLI through this error
Fatal error: Call to undefined function wp_is_mobile() in /home/tskamath/tsktech.in/wp-content/plugins/so-widgets-bundle/widgets/so-slider-widget/so-slider-widget.php on line 167
the earlier version 1.2.3 was working fine..
URL: http://tsktech.in
Hi Srikanth
Can you confirm that rolling back to version 1.2.3 fixes the issue again? This is a very strange error because wp_is_mobile is a core WordPress function and we’ve been using it since the very first release of the Widgets Bundle.
Is there anything else that might have changed in your WordPress installation at the same time as updating to version 1.2.4?
Dear Greg,
I am sorry, this is more of wp-cli issue ( I am not sure, i can guess this much from the Google searches ). https://github.com/wp-cli/wp-cli/issues/1542
I have been using the wp-cli to manage the WP Installs because its much faster and easy.
“The workaround is deactivate the plugin from the webpage, finish the maintenance or whatever you are doing using the wp-cli and then reactivate the plugin….”
sorry once again,
Hi Srikanth
Aaah, thanks for letting us know about this though. I’ve added in a check to make Widgets Bundle more resilient to this issue. The next update will include this fix.
Here’s the commit for the fix incase you’re interested :)
https://github.com/siteorigin/so-widgets-bundle/commit/5548d99c056154dff3ed495e8a70cc49a6c0cb3c
thanks buddy..