• https://www.kommandant.us

    I did something wrong. If you look on my homepage, I get this error involving soundcloud and a slideshow. I have access to the FTP, but I have minimal understanding of coding. Can someone please help me? Much appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter purityofsin

    (@purityofsin)

    These are the errors in case anyone can’t access the website for any reason:

    Warning: Missing argument 1 for shslideshow(), called in /home4/komandnt/public_html/wp-content/themes/Kommandant/homepage.php on line 11 and defined in /home4/komandnt/public_html/wp-content/plugins/sh-slideshow/shslideshow.php on line 291

    [soundcloud url=”https://api.soundcloud.com/tracks/189133722″ params=”auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&visual=true” width=”100%” height=”300″ iframe=”true” /]

    Warning: Missing argument 1 for shslideshow(), called in /home4/komandnt/public_html/wp-content/themes/Kommandant/homepage.php on line 27 and defined in /home4/komandnt/public_html/wp-content/plugins/sh-slideshow/shslideshow.php on line 291

    Thread Starter purityofsin

    (@purityofsin)

    And this is the code where the error should be in:

    <?php
    /*
    Template Name: Home Page
    */
    ?>
    
    <?php get_header(); ?>
    
    	<div id="main">
    		<div id="slideshow">
    			<?php shslideshow(); ?>
    		</div>
    
    		<div id="content">
    
    			<?php if (have_posts()) : ?>
    			<?php while (have_posts()) : the_post(); ?>
    
    				<?php the_content(''); ?>
    
    				<?php endwhile; ?>
    
    		<?php endif; ?>
    
    		<div id="slideshow">
    			<?php shslideshow(); ?>
    
    		</div><!--end content div-->
    
    		<div id="leftWidget">
    		<?php if ( !function_exists('dynamic_sidebar')
    		|| !dynamic_sidebar('sidebar1') ) : ?>
    		<?php endif; ?>
    		</div>
    
    		<div id="rightWidget">
    		<?php if ( !function_exists('dynamic_sidebar')
    		|| !dynamic_sidebar('sidebar2') ) : ?>
    		<?php endif; ?>
    		</div>
    
    	<div style="clear:both;"></div>
    	</div>
    
        <?php get_footer(); ?>

    in your wp-content/themes/Kommandant/homepage.php file you made some changes, you need to revert it

    Thread Starter purityofsin

    (@purityofsin)

    I tried to bring it back to the original I can’t seem to find the problem. I feel like it should be something simple but I’m overlooking it

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error with website coding’ is closed to new replies.