modxcms / Discuss

MODX Revolution native forums.
19 stars 35 forks source link

Categories repeated #23

Open Nuan8 opened 10 years ago

Nuan8 commented 10 years ago

Categories will appear multiple times after making new boards, or by dragging and dropping boards. So if a category has 4 boards, 2 might be together and the other two in different places.

This view is not shown in the manager view of categories and boards.

multiple_categories

Nuan8 commented 10 years ago

Ok here is the error in the log. This happens periodically as I try to make new categories and boards: [2014-05-28 02:26:18](ERROR @ /home/rayxilaw/public_html/core/cache/includes/elements/modsnippet/16.include.cache.php : 39) PHP warning: in_array() expects parameter 2 to be array, string given

Nuan8 commented 10 years ago

This turned out to be reproducible but still minor. It didn't happen often, and sometimes could be righted. By laying out the structure of the whole site at one time, the 2-3 times it mixes up the categories weren't a huge problem, and once the process is over, they seem stable. Both during testing and then making the final structure the categories would mix up, with 1-2-3 turning into 3-1-2. But then they stayed there, no more moving around as long as you don't mess with things in the manager dialog.

The one thing I couldn't do before was put more boards in a category (unless as a sub category), and later when I needed to add a couple more boards in, I found it worked fine.