Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gravatar parts deprecated #907

Closed
dercoder opened this issue Jul 17, 2019 · 1 comment
Closed

Gravatar parts deprecated #907

dercoder opened this issue Jul 17, 2019 · 1 comment

Comments

@dercoder
Copy link

Currently i get this error on PHP 7.3

ErrorException: filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated

if (!filter_var($image, FILTER_VALIDATE_URL, FILTER_FLAG_HOST_REQUIRED)) {
    throw new InvalidArgumentException('The default image specified is not a recognized gravatar "default" and is not a valid URL');
} else {
    $this->defaultImage = $image;
}
  • Phalcon Framework version: 3.4.4
  • Phalcon Incubator version: 3.4
  • PHP Version: 7.3
ruudboon added a commit to ruudboon/incubator that referenced this issue Jul 28, 2019
ruudboon added a commit to ruudboon/incubator that referenced this issue Aug 30, 2019
ruudboon added a commit to ruudboon/incubator that referenced this issue Aug 30, 2019
@Jeckerson Jeckerson added this to the 4.0.0 milestone Apr 10, 2020
@Jeckerson
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants