# Elegance - Slide Show: Undefined variable: slide4image

XMLWordPrintable

#### Details

• Bug
• Status: Closed
• Minor
• Resolution: Fixed
• 2.6
• None
• All versions
• MOODLE_26_STABLE
• MOODLE_26_STABLE

#### Description

After setting and enabling 4 slides in the settings for the slide show in Elegance theme, all the images seem to be muddled up and the last slide (4) was missing but the image was displayed as the background of the first image. The sides also appeared to be odd lengths too, but I thought that was because the 4th image was a different width than the other three slide images, but after deleting it and replacing with a smaller image like the other three slides, it appeared to make no difference.

I managed to track the fourth slide down and found this warning error.

 `( ! ) Notice: in C:\wamp\www\moodle27\theme\elegance\layout\includes\slideshow.php on line 112` `Call Stack ` `#TimeMemoryFunctionLocation 10.0016356088` `{main}()..\index.php:0 20.617525357384` `core_renderer->header()..\index.php:101 30.770030597984` `core_renderer->render_page_layout()..\outputrenderers.php:811 40.770930655344` `include( 'C:\wamp\www\moodle27\theme\elegance\layout\frontpage.php' )..\outputrenderers.php:881 51.153442748704` `require_once( 'C:\wamp\www\moodle27\theme\elegance\layout\includes\slideshow.php' )..\frontpage.php:95 );`

#### People

Julian Ridden
Mary Evans