Board Thread:Support Requests - Getting Technical/@comment-26349713-20200707123903/@comment-9605025-20201004214540

So, correct me if I am wrong. It looks like you want each gallery to search for categories that contain either the page or subpage name. As long as those are the only things you are looking to search for, I don't think you need to have parameters. However, the spaces around the "/" in the page name could be problematic. Does your wiki do that for all subpages or just some? If just some, why?

As for the error, there are some extra whitespace characters at the end of that line which appear to be the cause of the error. Just remove those characters and it should be fine.

Also, there is something I forgot to mention before. The new DPL version has a different default order method; no order. If you want the images to appear in a fixed order, you will need to explicitly set the order method.

Here is a revised version given my above assumptions, the old DPL ordering, and the assumption of no spaces around "/" in the page name. Once you let me know about the spaces in the page name, I can try to adjust it accordingly to your wiki's conventions.