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

Accessing static property as non static #1122

Closed
danielchodusov opened this issue Sep 13, 2019 · 0 comments
Closed

Accessing static property as non static #1122

danielchodusov opened this issue Sep 13, 2019 · 0 comments

Comments

@danielchodusov
Copy link

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no

Steps required to reproduce the problem

Hi! When trying to sending async email with symfony/mailer serialized serialized with jms/serializer I recieve this this exception using jms/serializer 3.2.0

In DefaultAccessorStrategy.php line 86:

  [ErrorException]
  Notice: Accessing static property Egulias\EmailValidator\EmailLexer::$nullToken as non static

Exception trace:
  at /XXX/vendor/jms/serializer/src/Accessor/DefaultAccessorStrategy.php:86
 Egulias\EmailValidator\EmailLexer::JMS\Serializer\Accessor\{closure}() at /XXX/vendor/jms/serializer/src/Accessor/DefaultAccessorStrategy.php:91

It seems it's to be related to: #960

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

No branches or pull requests

1 participant