One of the templates of the current script contains layer moving tokens, but your remove gridtemplate layers generation option is turned on.
➢The use of this option, along with QuarkXPress 2015-2025, is strongly discouraged.
➢The effect of moving some objects to a specific layer will be annulled by the removal of all the layers of all the templates of your script.
Solution
Use the Change Diary Generation Options pop-up menu option to navigate to the generation options dialog and turn the Remove Template Layers option to off.
Topic 179250, last updated on 28-Apr-2022