thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.78k stars 2.67k forks source link

getting 500 server error when submit form without filling rich text box #5615

Open techcvr opened 2 years ago

techcvr commented 2 years ago

Laravel version

7

PHP version

7.4

Voyager version

1.5

Database

5.7.37

Description

getting 500 server error when submit form without filling rich text box

Steps to reproduce

create multiple fields including a rich text box and fill all the text fields except rich text box and submit, i am getting 500 server error with this format

Expected behavior

form should be submitted with empty data in rich text box field

Screenshots

image image

Additional context

Pls check

emptynick commented 2 years ago

That's not really much information to help you. Please check your logs and show us some errors

techcvr commented 2 years ago

thanks emptynick for quick response, but i am new to this voyager platform, can you pls tell me how to find the logs?

fletch3555 commented 2 years ago

Voyager is simply a package installed in a laravel application. The logs would be your laravel.log file

techcvr commented 2 years ago

i searched all my project files and there is no laravel.log file

TheAbhishekIN commented 2 years ago

its in storage/logs/laravel.log

howdu commented 2 years ago

Set that column as 'nullable' in your database. Or add required validation - https://voyager-docs.devdojo.com/bread/introduction#validation

cotiga commented 2 years ago

Or use this package composer require barryvdh/laravel-debugbar --dev Error will immediately displayed...