• Resolved h0nk

    (@h0nk)


    I have installed the plugin as it is described. It is activated an I can change and save the settings. I didn’t change anything inside the files, but there are occuring the following errors:

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    Warning: Illegal string offset 'width' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 58
    
    Warning: Illegal string offset 'mode' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 62
    
    Warning: Illegal string offset 'speed' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 66
    
    Warning: Illegal string offset 'infiniteLoop' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 70
    
    Warning: Illegal string offset 'controls' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 74
    
    Warning: Illegal string offset 'startingSlide' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 78
    
    Warning: Illegal string offset 'randomStart' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 82
    
    Warning: Illegal string offset 'hideControlOnEnd' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 86
    
    Warning: Illegal string offset 'auto' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 90
    
    Warning: Illegal string offset 'pause' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 94
    
    Warning: Illegal string offset 'autoDirection' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 98
    
    Warning: Illegal string offset 'autoHover' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 102
    
    Warning: Illegal string offset 'pager' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 106
    
    Warning: Illegal string offset 'pagerLocation' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 110
    
    Warning: Illegal string offset 'ticker' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 114
    
    Warning: Illegal string offset 'tickerSpeed' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 118
    
    Warning: Illegal string offset 'tickerDirection' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 122
    
    Warning: Illegal string offset 'tickerHover' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 126
    
    Warning: Illegal string offset 'easing' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 130

    I googled it to solve this but I wasn’t able to find a fitting solution.

    pls help!!

    http://wordpress.org/extend/plugins/cslider/

Viewing 1 replies (of 1 total)
  • Thread Starter h0nk

    (@h0nk)

    fixed it!!

    added

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. Don’t use blockquote. ]

    $width = ( isset( $atts['width'] ) )   ? $atts['width'] : 'ASC';
    	$mode = ( isset( $atts['mode'] ) )   ? $atts['mode']   : 'ASC';
    	$speed = ( isset( $atts['speed'] ) )   ? $atts['speed']   : 'ASC';
    	$infiniteLoop = ( isset( $atts['infiniteLoop'] ) )   ? $atts['infiniteLoop']   : 'ASC';
    	$controls = ( isset( $atts['controls'] ) )   ? $atts['controls']   : 'ASC';
    	$startingSlide = ( isset( $atts['startingSlide'] ) )   ? $atts['startingSlide']   : 'ASC';
    	$hideControlOnEnd = ( isset( $atts['hideControlOnEnd'] ) )   ? $atts['hideControlOnEnd']   : 'ASC';
    	$auto = ( isset( $atts['auto'] ) )   ? $atts['auto']   : 'ASC';
    	$pause = ( isset( $atts['pause'] ) )   ? $atts['pause']   : 'ASC';
    	$autoDirection = ( isset( $atts['autoDirection'] ) )   ? $atts['autoDirection']   : 'ASC';
    	$autoHover = ( isset( $atts['autoHover'] ) )   ? $atts['autoHover']   : 'ASC';
    	$pager = ( isset( $atts['pager'] ) )   ? $atts['pager']   : 'ASC';
    	$pagerLocation = ( isset( $atts['pagerLocation'] ) )   ? $atts['pagerLocation']   : 'ASC';
    	$ticker = ( isset( $atts['ticker'] ) )   ? $atts['ticker']   : 'ASC';
    	$tickerSpeed = ( isset( $atts['tickerSpeed'] ) )   ? $atts['tickerSpeed']   : 'ASC';
    	$tickerDirection = ( isset( $atts['tickerDirection'] ) )   ? $atts['tickerDirection']   : 'ASC';
    	$tickerHover = ( isset( $atts['tickerHover'] ) )   ? $atts['tickerHover']   : 'ASC';
    	$easing = ( isset( $atts['easing'] ) )   ? $atts['easing']   : 'ASC';

    in the first line of function in cslider.php and deleted every if ($atts[‘xxx’])…;

    works perfect for me!

Viewing 1 replies (of 1 total)
  • The topic ‘Can't get cSlider working’ is closed to new replies.