Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

wiggonator's avatar

Spark 'Name' field empty on page load

My spark installation works perfectly except for the "Name" field on the "Profile" Page.

When the page loads my name is not listed. If I type something in it gets saved to the database and the page refresh shows my name. However when I reload the page my name is not showing any more. The field is blank.

The file I'm speaking about is: vendor/spark/settings/profile/update-contact-information.blade.php

The input field looks good:

Why is the name is populating? Can someone help me trace this down. What field should I look for that populates this blade file?

I have not edited any of my spark files.

0 likes
1 reply
wiggonator's avatar
wiggonator
OP
Best Answer
Level 2

Figured it out... I had a function overwriting the name attribute: public function getNameAttribute() { // blah blah }

All fixed!

Please or to participate in this conversation.