• Hi,
    I have a slight problem. the index page shows the following error
    Fatal error: Call to undefined function image_slider_show() in /home/www/100/wp-content/themes/sandbox/index.php on line 3

    someone please help. someone else updated the site , so i have no back up but have the above error.

    here is the website link http://cio100.cio.co.ke/ . Kindly assist

Viewing 13 replies - 1 through 13 (of 13 total)
  • Looks like a slider plugin was removed or deactivated but there’s still a reference to it in your theme’s index.php. Open the file in a text editor and remove the reference, or re-install/reactivate the slider.

    Thread Starter Roboka

    (@roboka)

    True, the plugin was not activated, but when i activate, the error is still there
    below is the index.php file contents

    <?php get_header() ?>
    <div id=”sliders”>
    <?php if(function_exists(image_slider_show())){image_slider_show();}?>
    </div>
    <div id=”container”>

    <div id=”content”>
    <div class=”home-page-column”>
    <?php if ( function_exists(‘dynamic_sidebar’)&& dynamic_sidebar(‘Home Page First Column’) ) : endif; ?>
    </div>
    <div class=”home-page-column”>
    <?php if ( function_exists(‘dynamic_sidebar’)&& dynamic_sidebar(‘Home Page Second Column’) ) : endif; ?>
    </div>

    </div><!– #content –>
    </div><!– #container –>

    <?php get_sidebar() ?>
    <?php get_footer() ?>

    when i remove the reference, the site is back up but the slider is not there

    Did the function name change? Did you install a different slider?

    Thread Starter Roboka

    (@roboka)

    Havent installed a different slider, your perception makes sense, below is the link to
    image-slider/slider.php content. dont seem to find the image_slider_show function

    http://pastebin.com/5A5GruP5

    Thread Starter Roboka

    (@roboka)

    how do i identify the changed function name?

    You should have posted all the above at pastebin.com and provided the link.

    If you look at what you posted, you’ll find this:

    <div class="wholeform">
    <h4> call this function in template file to show slideshow as_tejus_show_slideshow();</h4>
    
    <h4>OR use this shortcode [as_tejus_slides] in posts or pages.</h4>
    </div>
    Thread Starter Roboka

    (@roboka)

    ok. Pasted it on pastebin.com and provided the link.
    So what about the <div class=”wholeform”> ? i dont follow

    I quoted what you’d posted back at you. I’ll strip it even further:

    call this function in template file to show slideshow as_tejus_show_slideshow(); OR use this shortcode [as_tejus_slides] in posts or pages.

    Thread Starter Roboka

    (@roboka)

    So i have done as you instructed on the function, the site is back on, but the slider images are not showing.

    <div id=”sliders”>
    <?php if(function_exists(as_tejus_show_slideshow())){as_tejus_show_slideshow();}?>
    </div>

    http://cio100.cio.co.ke/

    Is the slider a custom plugin? It looks like it’s a customised Anything Slider install. Where did you download it from?

    Thread Starter Roboka

    (@roboka)

    actually i dont know who did the site, was refered to help wih the situation after the error appeared. so as of now, i dont know where the slider was downloaded. cant seem to find it when i search for plugins in wordpress dashboard or the website that it refers to as well. seems the support for the plugin stopped.

    I think your best course of action would be to grab a new slider plugin. This one’s nice:

    https://wordpress.org/plugins/soliloquy-lite/

    Thread Starter Roboka

    (@roboka)

    Thankyou very much for your help Ranger. I will surely do so
    Shukran (swahili word for thankyou)

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Call to undefined function image_slider_show()’ is closed to new replies.