Sandpiper pump problem – again


My sandpiper pump lost its prime again.  The pump was constantly pumping and would work fine in the bay.  I am not sure what the problem is but the chemical seemed foamy and white like the picture to the left.  After I removed the outlet hose the chemical took longer to prime this time.