QuarkXPress 2018 pro is throwing the error message because the folder needs to be working folder list in the preferences. Steps to add the folder to the working folder list are given below

1. QuarkXPress Pro > Preferences > Working Folder

2. Click on the + button.

3. A new window will open select a folder and click on the OK Button.