I am having an issue with my script that imports entries from a csv file and inserts them as wordpress custom posts (each row is a single post)... Initially, I set up the import functionality in its own class and that was barely working...from what I gathered, the issue was that the global variables are not cached and each time I called the instance more memory would be consumed until the process ran out of memory and crashed out... so I removed the class and set up the import functionality as described by the code below.I am having an issue with my script that import