Snippet code limit?

Hi, I am trying to run a “snippet”, which is syntactically correct, but which keeps breaking my test-site.
It is over 280 lines. Is the size of the snippet an issue?
It has multiple functions - could that be an issue?

Hey @ushan_mrwebsites

The size of 280 lines shouldn’t be an issue. It’s very possible that the content of the script is causing an issue even though it appears to be syntactically correct.

In what way does it break the site? Does it become inaccessible with a critical error or something similar?