PHP Fatal error

When links are not found need to use return instead of continue