Thread:Project:Support desk/How to Create Wikia Sliders?/reply (2)

I figured I'd at least give it a shot though. It seems like I'm pretty close, normally if something's not gonna work, I'll get an error and my wiki won't even load. The wiki at least works normally until I try to actually use sliders on a page (then I can't save my edit because of the warnings).

As far as I understand, the main issue is that there's an undefined method on line 67 in the code:

https://github.com/Wikia/app/blob/dev/extensions/wikia/WikiaPhotoGallery/WikiaPhotoGalleryHelper.class.php

But I'm just not really sure what that means, or what I can do to fix it. I was looking at Manual:Hooks/BeforeParserrenderImageGallery, and figured that maybe $ig was old and needed to be updated to $imagegallery, but that didn't really help. It just changed the error to

Fatal error: Call to undefined method ImageGallery::parse in E:\XAMPP\htdocs\mywiki\extensions\wikia\WikiaPhotoGallery\WikiaPhotoGalleryHelper.class.php on line 67

I also tried copying wikia's Commons.css, Commons.js, Wikia.css, and Wikia.js pages to my wiki, thinking that perhaps I was missing some css or javascript, but that had no effect.

Additionally, I really doubt it's a version issue, but since I'm using MediaWiki 1.24.1, I decided to try using the same version as wikia: MediaWiki 1.19.23. That didn't change anything either, I still get the same error.