Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

Fatal error: ImageGalleryPage.php on line 268


Go to End


2 Posts   2000 Views

Avatar
Andre

Community Member, 146 Posts

15 September 2009 at 3:23am

Hi, I downloaded the newest Version 271 of the image_galary repository and tried to set up up a few Pages of ImageGalayPage - Type next to each other. It's because I need Categories with more than one Album, so I'm not able to use Albums for Categories.

Now when I want to view one of my CAtegories I get the following PHP Error:

Fatal error: Call to a member function updateItems() on a non-object in /var/www/testdrive/htdocs/image_gallery/code/ImageGalleryPage.php on line 268

Avatar
WillSkeggs

Community Member, 3 Posts

15 September 2009 at 12:56pm

I get a similar error with 2.3.3 on the same line as well.

Fatal error: Argument 1 passed to ImageGalleryUI::updateItems() must not be null, called in /httpdocs/dev/image_gallery/code/ImageGalleryPage.php on line 268 and defined in /httpdocs/dev/image_gallery/gallery_ui/ImageGalleryUI.php on line 18