zofe / rapyd-laravel

deprecated rewritten in rapyd-livewire
MIT License
866 stars 297 forks source link

htmlentities() expects parameter 1 to be string, array given #407

Open qwertymlex opened 7 years ago

qwertymlex commented 7 years ago

Hello,

When trying to filter data and hitting the search button I get this error "htmlentities() expects parameter 1 to be string, array given"

I'have notice that the error is fired when i use daterange filter

As a note in my composer i have "laravelcollective/html": "5.2.*" and I'm using laravel 5.2

qwertymlex commented 7 years ago

I did some debuging and it seams to work fine if in Daterange.php on build() function changed line 46 from: if (parent::build() === false) return; to if (Field::build() === false) return;

MGS-sails commented 7 years ago

I've also been struggling with this issue where did you find Daterange.php?

qwertymlex commented 7 years ago

In your vendor/zofe/rapyd/DataForm/Field/Daterange.php:46

MGS-sails commented 7 years ago

I dont get the error anymore, but nothing happens when I click the search button and I dont get a date picker in my daterange fields. Did you have thesame problem?

denkata commented 7 years ago

Anyone else having this issue with 5.4?

Presii commented 6 years ago

@denkata I have laravel 5.5 and fix of @qwertymlex is good