11 years ago
Topic

If I relate an article to another article and that one relates back to it, it will cause an out of memory error:
Product A -> Product B
Product B -> Product A

This happens when using the "intro" type in the Article (Related) field.

I think the best way to fix it is to creating a stack in $GLOBALS and as you are loading Article (Related) fields, check the IDs against those in the stack. If one matches, then stop going deeper and deeper for that field.

Is that a workable solution or is there something else I can do?

Get a Book for SEBLOD
11 years ago
0
Level 1

I solved this bug here: http://www.seblod.com/community/forums/fields-plug-ins/bug-articles-able-to-self-reference

Get a VIP membership