Title: Cannot Activate
Last modified: August 20, 2016

---

# Cannot Activate

 *  Resolved [ItzBlitz](https://wordpress.org/support/users/itzblitz/)
 * (@itzblitz)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-2/)
 * Hey Igor,
    Thank you for this excellent plugin but im having problems activating
   it.
 * This is the error im getting,
    [http://i.imgur.com/7Ryg9.png](http://i.imgur.com/7Ryg9.png)
 * My PHP version is 5.4.7 if that helps.
 * [http://wordpress.org/extend/plugins/len-slider/](http://wordpress.org/extend/plugins/len-slider/)

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

 *  Plugin Author [Igor Sazonov](https://wordpress.org/support/users/tigusigalpa/)
 * (@tigusigalpa)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-2/#post-3214785)
 * Hi, ItzBlitz!
    Sorry for the problem. Really, the problem is about new version
   of PHP, i’ll make a new version soon, now you can edit **len-slider/lib/lenslider.
   class.php:386-397**: (remove all ampersands **&**)
 *     ```
       public function lenslider_replace_att_url($att_id) {
               if($att_id) {
                   $retObj            = new stdClass;
                   $retObj->absAttUrl = str_ireplace(self::$siteurl."/", ABSPATH, wp_get_attachment_url($att_id));
                   $retObj->httpPath  = str_ireplace(ABSPATH, '/', $retObj->absAttUrl);
                   $size_array        = @getimagesize($retObj->absAttUrl);
                   $retObj->size      = $this->lenslider_size_str($size_array[0], $size_array[1]);
                   $retObj->mime      = $size_array['mime'];
                   return $retObj;
               }
               return false;
           }
       ```
   
 * but i dont guarantee about plugin will works well, ok, i’ll make a fix soon. 
   Sorry again..
 *  Plugin Author [Igor Sazonov](https://wordpress.org/support/users/tigusigalpa/)
 * (@tigusigalpa)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-2/#post-3214816)
 * LenSlider 1.1 available, hope the one works with PHP 5.4+ well =)
 *  [carboneri](https://wordpress.org/support/users/carboneri/)
 * (@carboneri)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-2/#post-3214826)
 * Hi Igor!
 * Thanks in advance, and sorry for my english.
    I reading all posts now, but I 
   can’t resolve my problem.
 * I really like the LenSlider. I put the PHP code on my template but nothing change
   on my website. I have LenSlider v1.1.2
 * The code:
 * home.php
 *     ```
       <?php get_header(); ?>
   
       <?php if ( 'on' == et_get_option('lucid_featured', 'on') && is_home() ) get_template_part( 'includes/featured', 'home' ); ?>
   
       <?php if( class_exists( 'LenSlider' ) ) {LenSlider::lenslider_output_slider('9256f51f08');}?>
       <?php
       	$recent_sidebars = array('recent-area-1','recent-area-2','recent-area-3');
       	if ( is_active_sidebar( $recent_sidebars[0] ) || is_active_sidebar( $recent_sidebars[1] ) || is_active_sidebar( $recent_sidebars[2] ) ) {
       		echo '<div id="recent-categories" class="clearfix">';
       		foreach ( $recent_sidebars as $key => $recent_sidebar ){
       			if ( is_active_sidebar( $recent_sidebar ) ) {
       				echo '<div class="recent-category' . (  2 == $key ? ' last' : '' ) . '">';
       				dynamic_sidebar( $recent_sidebar );
       				echo '</div> <!-- end .recent-category -->';
       ```
   
 * Can you help me?
 * rurales.gutierrezlarre.com
 *  Plugin Author [Igor Sazonov](https://wordpress.org/support/users/tigusigalpa/)
 * (@tigusigalpa)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-2/#post-3214827)
 * Hi, carboneri! I’ll try to hepl You.
    Is Your slider `9256f51f08` enabled in 
   LenSlider admin? Do You know your version of PHP?
 *  [carboneri](https://wordpress.org/support/users/carboneri/)
 * (@carboneri)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-2/#post-3214832)
 * Thanks, a lot.
 * Yeah, my slider is enabled, but I can’t see when I put “Preview”.
 * My version oh PHP is 5.2.17 (my host). Any solution?
 *  Plugin Author [Igor Sazonov](https://wordpress.org/support/users/tigusigalpa/)
 * (@tigusigalpa)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-2/#post-3214833)
 * LenSlider version is 1.1.3 ? Please update to the 1.1.3, some fixes there
 *  [carboneri](https://wordpress.org/support/users/carboneri/)
 * (@carboneri)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-2/#post-3214834)
 * Thank you very much! Congratulations for so nice slider, from Montevideo.
 *  Plugin Author [Igor Sazonov](https://wordpress.org/support/users/tigusigalpa/)
 * (@tigusigalpa)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-2/#post-3214835)
 * thanks from Russia)

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

The topic ‘Cannot Activate’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/len-slider_f9d6d7.svg)
 * [Len Slider](https://wordpress.org/plugins/len-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/len-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/len-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/len-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/len-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/len-slider/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Igor Sazonov](https://wordpress.org/support/users/tigusigalpa/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-2/#post-3214835)
 * Status: resolved