Title: Version 2.1 Bug
Last modified: August 21, 2016

---

# Version 2.1 Bug

 *  Resolved [tpuerzer](https://wordpress.org/support/users/tpuerzer/)
 * (@tpuerzer)
 * [13 years ago](https://wordpress.org/support/topic/version-21-bug/)
 * I just upgraded to Ver 2.1 and managed to brick my WordPress site.
 * Deleted the metaslider plugin directory (via FTP) and the site came back.
 * Using wp-bootstrap template from 320press.com
 * Tried installing a fresh copy of the plugin on another (different) test site (
   not an upgrade this time). Install went ok, but when I tried to activate the 
   plugin I got the following error:
 * > Plugin could not be activated because it triggered a fatal error.
   >  Parse error:
   > syntax error, unexpected T_FUNCTION in /home7/tonypuer/public_html/brightideaconsulting/
   > wp-content/plugins/ml-slider/inc/metaslider.widget.class.php on line 112
 * Tried again using the Twenty Eleven theme and same result.
 * The only other plugin on that site is Contact Form 7
 * Looks like V2.1 needs some work!
 * [http://wordpress.org/extend/plugins/ml-slider/](http://wordpress.org/extend/plugins/ml-slider/)

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

 *  [matchalabs](https://wordpress.org/support/users/matchalabs/)
 * (@matchalabs)
 * [13 years ago](https://wordpress.org/support/topic/version-21-bug/#post-3744961)
 * Hi tpuerzer,
 * Thanks for letting me know. The widget code is pretty much a straight copy and
   paste job from the official WordPress docs! The line with the error is unmodified
   from the sample code:
 * add_action(‘widgets_init’, function(){
    register_widget(‘MetaSlider_Widget’);});
 * I suspect there’s a version of PHP that doesn’t like that way of calling a function(
   I test Meta Slider on 3 servers before releasing, but I’ll have to get a server
   set up with an older version of PHP). Tagging a new release with a fix in it 
   now (2.1.1)
 * Regards,
    Tom
 *  [matchalabs](https://wordpress.org/support/users/matchalabs/)
 * (@matchalabs)
 * [13 years ago](https://wordpress.org/support/topic/version-21-bug/#post-3744964)
 * That has been tagged, apologies for the hassle, and thanks for the super quick
   report. I hope too many people weren’t affected.
 * Regards,
    Tom.
 *  Thread Starter [tpuerzer](https://wordpress.org/support/users/tpuerzer/)
 * (@tpuerzer)
 * [13 years ago](https://wordpress.org/support/topic/version-21-bug/#post-3744979)
 * Tom
 * OK. You guys ROCK!
 * That was amazing turn-around on that problem.
 * Many thanks,
 * Tony
 *  [matchalabs](https://wordpress.org/support/users/matchalabs/)
 * (@matchalabs)
 * [13 years ago](https://wordpress.org/support/topic/version-21-bug/#post-3744999)
 * No problem. It’s quite stressful releasing an update knowing that maybe 1000 
   people are going to be installing it on their own servers in the next 24 hours–
   no amount of testing I can do on my own can compare to that really, so I like
   to hang around for a few hours just in case something like this happens.
 * Enough excuses anyway, I’m just glad you reported it so quick, you’ve probably
   saved quite a few people from going through the same thing 🙂
 *  Thread Starter [tpuerzer](https://wordpress.org/support/users/tpuerzer/)
 * (@tpuerzer)
 * [13 years ago](https://wordpress.org/support/topic/version-21-bug/#post-3745000)
 * Just ordered the 5-site Pro version (from my company account) as my way of saying
   thank you for the quick response! 🙂
 *  [matchalabs](https://wordpress.org/support/users/matchalabs/)
 * (@matchalabs)
 * [13 years ago](https://wordpress.org/support/topic/version-21-bug/#post-3745005)
 * That’s absolutely amazing – thanks!

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

The topic ‘Version 2.1 Bug’ is closed to new replies.

 * ![](https://ps.w.org/ml-slider/assets/icon.svg?rev=3523572)
 * [Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider](https://wordpress.org/plugins/ml-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ml-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ml-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/ml-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ml-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ml-slider/reviews/)

## Tags

 * [Crash](https://wordpress.org/support/topic-tag/crash/)
 * [v2.1](https://wordpress.org/support/topic-tag/v2-1/)

 * 6 replies
 * 2 participants
 * Last reply from: [matchalabs](https://wordpress.org/support/users/matchalabs/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/version-21-bug/#post-3745005)
 * Status: resolved