Skip to content

Conversation

@omgitsjan
Copy link
Contributor

This PR fixes a 500 Internal Server Error caused by attempting to access the name property of a null $button object. A null check is added to ensure the property is only accessed when $button exists.

Changes Made:

  • Added a null check for $button in resources/views/studio/links.blade.php.

Why Needed:
The error occurred after adding a vCard (or this is the last thing I can reminder), making the "Links" tab inaccessible. This fix prevents the error when $button is unexpectedly null.

Let me know if further adjustments are needed!

Added check if Button exits because of 500 error I'm occurred
@JulianPrieber JulianPrieber changed the base branch from main to beta December 9, 2024 15:43
@JulianPrieber JulianPrieber merged commit 762e5c9 into LinkStackOrg:beta Dec 9, 2024
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants