While the plugin and macro can and do run without conflicting with each other, there is a conflict of actions between the plugin and the macro.
When pocketfarm is out of mobs, it sits you down. Foraging requires you to stand, so the resulting effect on occasion is for your toon to bob up and down while you sit / stand / sit / stand as the plugin and macro fight over your toons stance.
For this reason I often /stopforage when I run pocketfarm as it looks (to me) like a dead giveaway that I'm running some sort of automation.