Do you have an MWE ? Check: Please read: make it easier to help you)
Are you using: include(SCRIPT_PATH) inside a loop?
include(SCRIPT_PATH)