Home>Support>SiteOrigin Widgets Bundle Version 1.2.4 Update Breaks WP

SiteOrigin Widgets Bundle Version 1.2.4 Update Breaks WP

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

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 4 months ago Greg Priday
    Hi, I Work Here

    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?

  2. 9 years, 4 months ago Srikanth Kamath

    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,

  3. 9 years, 4 months ago Greg Priday
    Hi, I Work Here

    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.

  4. 9 years, 4 months ago Greg Priday
    Hi, I Work Here

    Here’s the commit for the fix incase you’re interested :)

    https://github.com/siteorigin/so-widgets-bundle/commit/5548d99c056154dff3ed495e8a70cc49a6c0cb3c

  5. 9 years, 4 months ago Srikanth Kamath

    thanks buddy..

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More