Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
here the steps:
create that folder if not exist
edit that file (new location), at line 387
find this code
that error because you put invalid code. please copy paste the code carefully.
if still cant, please edit your first post at this topic and at site info form please provide me FTP access detail.
I will do it for you.
this custom code has been tested at my test site, and it works like expected.