Someone has voted other solution. What is the other solution?
I voted other solution.
Europe has a very messy and naive immigration policy. It seems the choices are either to welcome immigrants with no conditions or not welcome them at all. But there's plenty more.
First of all, you need to distinguish between immigrants and refugees. If Europeans want to help refugees from war zones, they can just pay Turkey or other Middle Eastern countries to keep them, provide shelter, food, water and education if the crises last long enough. The funds can be provided collectively through the EU or if more countries are willing to pay, through the UN.
As for immigrants, there are two problems that I think solve each-other.
First, the European economy. European labor is not internationally competitive, especially the low-skilled. This lack of competitiveness has very high costs through subsidies in agriculture and high minimum wages in other sectors, which weaken exports or move jobs abroad. Europe is also getting very old, so there is a shortage of labor.
Second, in the Middle East and in Africa, there are plenty of young people, sometimes even middle or high-skilled, who are willing to work even for much less than the minimum wage in Europe. That's because economic opportunities where they are from are close to zero. But most European countries only offer working visas for very, very high-skilled labor. The only solution for these people remains to enter Europe illegally and work under the minimum wage. Some even take advantage of asylum policies through welfare.
The solutions are very simple. First, you need each European country to make a list of sectors where they have shortage of labor or very low competitiveness, and predict how many extra workers are needed. Second, provide working visas for these positions, even for low-paying jobs. Some Europeans will lose their jobs, but the extra money from the competitiveness of the new economy can be directed towards them through new training opportunities, or just social services. Third, get all asylum residents and all other non-citizens (except handicapped, etc) completely off welfare. If you don't want to work, you don't deserve to be sustained. Fourth, make stricter rules for citizenship. I'd say make it around 20 years. If, at any point during these years, you commit a crime, you get sent back. Fifth, give current illegal immigrants the choice to work, attend a short training program and then work, or go back to their native country. Sixth, use any means necessary to stop further illegal immigration.
This is the way to help people in need, but just the ones willing to earn this help. And trust me, there are so many of them. And if there was a legal way for them to go to Europe, maybe we would see less people living off welfare, and more hard-working and tax-paying ones.
This would also make the system work for the Europeans, getting rid of the extra burden of immigrant welfare, getting cheaper labor and a more internationally competitive economy, and in the future, a younger population. The only temporary losers would be some low-skilled workers, but as I said, the extra wealth can be used to accommodate them.