• I am making a plugin that checks a field against a code that is needed to register.

    My question is how do i generate a error that shows up on the registration page.

    this is the code I wrote but it gives me a object missing error. What am I missing?

    function LicenseError(){
    $errors->add('wrong_license', __('<strong>ERROR</strong>: This is not a valid license number.'));
    }
  • The topic ‘Register errors’ is closed to new replies.