Support

Account

Home Forums Add-ons Gallery Field Incomplete/Incorrect Code

Solved

Incomplete/Incorrect Code

  • I’ve just purchased the Gallery Add-On but on activation it errored out and displayed a few comments from the plugin lines (40-60 of acf-gallery.php)

    It reads

    ?>ister_fields'));
    
    	}
    
    	/*
    	*  register_fields
    	*
    	*  @description:
    	*  @since: 3.6
    	*  @created: 31/01/13
    	*/
    
    	function register_fields()
    	{
    		include_once('gallery.php');
    	}
    
    }
    
    new acf_gallery_plugin();
    
    ?>

    Could just be a simple fix but I didn’t want to poke around with it incase it was a known issue.

    Any help would be greatly appreciated.

    • Elliot

    • August 1, 2013 at 12:38 pm

    Hi @studioworks

    Thanks for the bug report. You must have downloaded the update within a minute of the upload.

    I also experienced this after I tested the update and quickly fixed the issue.

    For some reason, the git deployment messed up the file.

    Sorry for the inconvenience caused.

    * You can remove all the code after ?>

    Cheers
    E

  • Hey Elliot,

    Are any other files affected? I Removed that section but it still errors out.

    Thanks Again.

  • Scrap that I just re-downloaded it from my account and it works, sorry man.

    Cheers again for the reply 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.