This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

PolloZen
PolloZen

Hello! I'm working in a new plugin, everything works fine, but when I want to send a error message using Flash::error('Error here!"), the message just don't shows. If I use Flash::success('something here'), the message shows...

$magicArray = $this->magicArray($variable);
        if($magicArray == FALSE){
            \Flash::error('Something wrong with your array');
        }
//The message don't shows up.... but, the same code using success

$magicArray = $this->magicArray($variable);
        if($magicArray == FALSE){
            \Flash::success('Something wrong with your array');
        }
//The message SHOWS UP

What I'm doing wrong :'(

And other question, Why should I need to use "\" in Flash instruction?

Thanks a lot!

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.