I upgraded to 1.4 from 1.2 which was working fine with 50 sites.
Now no traffic is being registered in piwik. Besides my own visitors for some reason.
I was previously using the wordpress plugin to add the code to the sites, but after upgrade I added the codes manually to the template files. And its the same problem.