You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fatal error: Can't use function return value in write context in correios/app/code/community/PedroTeixeira/Correios/Model/Sro.php 116
Erro parece estar ocorrendo por causa do "trim", removi todos e o erro parou de ocorrer.
PHP V 5.3.29
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Fatal error: Can't use function return value in write context in correios/app/code/community/PedroTeixeira/Correios/Model/Sro.php 116
Fatal error: Can't use function return value in write context in
Nov 19, 2015
Realmente, em algumas versões, a função empty do PHP deixa de aceitar qualquer coisa, exceto variáveis. O que faz todo sentido.
(apesar de que testei no PHP 5.5.3, e não apresentou erros)
Provavelmente está também relacionado ao error_reporting do PHP.
Mas uma correção aqui seria muito bem vinda.
Fatal error: Can't use function return value in write context in correios/app/code/community/PedroTeixeira/Correios/Model/Sro.php 116
Erro parece estar ocorrendo por causa do "trim", removi todos e o erro parou de ocorrer.
PHP V 5.3.29
The text was updated successfully, but these errors were encountered: