@emaano Spark uses a lot of Vue.js, so if you’re getting that error then chances are there’ll be a more helpful error in the browser console. Try registering and inspecting the XHR request made to the register endpoint.
Adding Registration Fields Error
New to Laravel & spark. I'm running into this error using spark 6.0 after following instructions. Already did DB migration to get the field added. Modified App.js, register-common-form, and added to boot function in SparkServiceProvider - All per instructions. I get:
"Something went wrong. Please try again or contact customer support."
What is the step that's missing from these instructions to make this work? I did not use the close method. https://spark.laravel.com/docs/6.0/adding-registration-fields
Thank You
The missing step in following the laravel instructions is adding carbon to the top of SparkServiceProvider.
namespace App\Providers;
use Laravel\Spark\Spark;
use Laravel\Spark\Providers\AppServiceProvider as ServiceProvider;
use Carbon\Carbon;
class SparkServiceProvider extends ServiceProvider
{
And since i am not using VAT, i needed to comment out my vat verification.
'name' => 'required|max:255',
'email' => 'required|email|max:255|unique:users',
'first_name' => 'required|max:255',
'password' => 'required|confirmed|min:6',
// 'vat_id' => 'max:50|vat_id',
'terms' => 'required|accepted',
Hope that helps someone else that is new and just following along instructions
Please or to participate in this conversation.