G'Day Mate,
Try removing the plug from the air flow meter and look at the terminals to make sure that they are still in the right position, some times when you remove them and replace them the terminals slip back into the plug.
Also check the wiring behind the plug to make sure you don't have a broken wire.
Don't replace any other parts at this stage, as the fault was introduced with the air flow meter.