Title: displayOptionsForm
Last modified: August 21, 2016

---

# displayOptionsForm

 *  Resolved [FlaviusDemian](https://wordpress.org/support/users/flaviusdemian/)
 * (@flaviusdemian)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/displayoptionsform/)
 * Hello,
 * After I installed this plugin I went to Setings -> JSJ gallery Slideshow and 
   I get the following error:
 * Fatal error: Call to undefined method JSJGallerySlideshow::displayOptionsForm()
   in C:\xampp\htdocs\installs\wordpress\wp-content\plugins\jsj-gallery-slideshow\
   jsj-gallery-slideshow.php on line 244
 * I am a programmer and I can tell you that the function exists, also I haven’t
   changed the files at all.
    Any suggestions? Thanks
 * [http://wordpress.org/plugins/jsj-gallery-slideshow/](http://wordpress.org/plugins/jsj-gallery-slideshow/)

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

 *  Plugin Author [Jorge Silva-Jetter](https://wordpress.org/support/users/jorgesilva-1/)
 * (@jorgesilva-1)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/displayoptionsform/#post-4511290)
 * Wow, this is actually the first really interesting bug I’ve seen since I released
   this plugin!
 * Is that all you get in that page?
 * Maybe it has something to do with the fact that’s it’s a private function. Could
   you try changing it to public. That would be on line 300 of jsj-gallery-slideshow.
   php:
 * From:
 *     ```
       private function displayOptionsForm($options_group, $tab = 'simple'){ ?>
       ```
   
 * To:
 *     ```
       public function displayOptionsForm($options_group, $tab = 'simple'){ ?>
       ```
   
 * Could you also try doing the usual and making sure you have the latest version
   of WP and that you disabled all other plugins.
 * Let me know if any of those work. I’ll think of something else if none of those
   do.
 *  Thread Starter [FlaviusDemian](https://wordpress.org/support/users/flaviusdemian/)
 * (@flaviusdemian)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/displayoptionsform/#post-4511309)
 * Reinstalled the plugin, changed to publci but no use.
 *  Plugin Author [Jorge Silva-Jetter](https://wordpress.org/support/users/jorgesilva-1/)
 * (@jorgesilva-1)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/displayoptionsform/#post-4511319)
 * What version of php are you running? Do you know how to check this?
 * `<?php phpinfo(); ?>`
 *  [scherar](https://wordpress.org/support/users/scherar/)
 * (@scherar)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/displayoptionsform/#post-4511344)
 * Hi! Same problem here.
    PHP 5.3 WP 3.8
 * Thanks for your help!
 *  Plugin Author [Jorge Silva-Jetter](https://wordpress.org/support/users/jorgesilva-1/)
 * (@jorgesilva-1)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/displayoptionsform/#post-4511362)
 * Can you try this and let me know if this works. Sorry, that’s I’m giving you 
   all these tasks, but I can’t replicate these errors.
 * – Change displayOptionsForm to display_options_form. This function is called 
   a couple of times in the .php so make sure you replace all of them
 * – Can you try putting that function ABOVE public function options_page(){
 * – Can you try adding this code BEFORE displayOptionsForm is called and see if
   the error has to do with any class function or with that function specifically.
 * \`
    $colors = $this->get_admin_color(); `
 * scherar: Are you on windows/XAMPP too?
 *  Thread Starter [FlaviusDemian](https://wordpress.org/support/users/flaviusdemian/)
 * (@flaviusdemian)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/displayoptionsform/#post-4511363)
 * PHP Version 5.4.22
    WP 3.8 windows/xampp. I’ll try later to make the changes 
   you suggested.
 *  [scherar](https://wordpress.org/support/users/scherar/)
 * (@scherar)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/displayoptionsform/#post-4511365)
 * Jorge, you got an error in line 293:
 * <? {
 * must be
 * <?php {
 * this fixed it for me…
    greetings, scherar
 *  Plugin Author [Jorge Silva-Jetter](https://wordpress.org/support/users/jorgesilva-1/)
 * (@jorgesilva-1)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/displayoptionsform/#post-4511366)
 * 89 <?php in the code and I only had to miss once! haha
 * This will be fixed in the next release of the plugin. Give it a couple of days.
 * Thanks for finding that!

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

The topic ‘displayOptionsForm’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jsj-gallery-slideshow_dcdcdb.svg)
 * [JSJ Gallery Slideshow](https://wordpress.org/plugins/jsj-gallery-slideshow/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jsj-gallery-slideshow/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jsj-gallery-slideshow/)
 * [Active Topics](https://wordpress.org/support/plugin/jsj-gallery-slideshow/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jsj-gallery-slideshow/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jsj-gallery-slideshow/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Jorge Silva-Jetter](https://wordpress.org/support/users/jorgesilva-1/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/displayoptionsform/#post-4511366)
 * Status: resolved