Having the same problem.
Once I inserted the 2 lines for the include files, it now just times out the web page without any updates. I remember in the new days for armorysynch it used to do that but it updated some of the guild chars.
This isn't updating any. I've tried it with and without curl and it does the same thing.
I do remember there was an update for armorysynch originally for it to loop through each char instead of trying to populate the whole guild in one call, could it be this loop is now missing?