Support » Plugin: JSJ Gallery Slideshow » displayOptionsForm

  • Resolved FlaviusDemian



    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jorge Silva-Jetter


    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:


    private function displayOptionsForm($options_group, $tab = 'simple'){ ?>


    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.



    Reinstalled the plugin, changed to publci but no use.

    Plugin Author Jorge Silva-Jetter


    What version of php are you running? Do you know how to check this?

    <?php phpinfo(); ?>

    Hi! Same problem here.
    PHP 5.3
    WP 3.8

    Thanks for your help!

    Plugin Author Jorge Silva-Jetter


    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?

    PHP Version 5.4.22
    WP 3.8
    I’ll try later to make the changes you suggested.

    Jorge, you got an error in line 293:

    <? {

    must be

    <?php {

    this fixed it for me…
    greetings, scherar

    Plugin Author Jorge Silva-Jetter


    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.