In my settings it lists 2 for table cells
I've replaced what you said, but it still gives the same error.
Okay, after looking some more, I see that indeed it does list 2 for table cells, but I now changed it to 3, and it works fine with what you posted above for changes.
Thanks,
P.S.
I dont know if this is related to this or not, but I have it set to display 20 categories, but it shows 21 categories on the first page, and shows the following:
Found 26 galleries on 2 page(s). Displaying Galleries 1 to 20
when in reality it's displaying 21 categories not 20.