---
title: "Muhammad Mustafa (@MustafaNatiq) | Hashnode"
description: "Contribute to open source community. Read the latest articles by Muhammad Mustafa on Hashnode."
url: "https://hashnode.com/@MustafaNatiq"
---

@MustafaNatiq

# Muhammad Mustafa

@MustafaNatiq · Joined February 2021

Contribute to open source community

### [Laravel Tip: How to avoid error when no relation exists](https://mustafanatiq.hashnode.dev/laravel-tip-how-to-avoid-error-when-no-relation-exists?utm_source=hashnode&utm_medium=feed)

Laravel is the most famous PHP framework and it is used widely. As a Laravel Developer you must have used Eloquent and Eager/Lazy loading to reduce the query time and for optimization. Sometimes you try to call a relationship that does not exist and ...

1 min read · [mustafanatiq.hashnode.dev](https://mustafanatiq.hashnode.dev/laravel-tip-how-to-avoid-error-when-no-relation-exists?utm_source=hashnode&utm_medium=feed)

[Jul 2, 2021](https://hashnode.com/posts/laravel-tip-how-to-avoid-error-when-no-relation-exists/60df43f603707d644a4fed98)
