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

Corrigindo erro constante php usando self:: #585

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

ricardoapaes
Copy link
Contributor

@ricardoapaes ricardoapaes commented Nov 8, 2023

Estou migrando o sistema aqui da empresa para PHP 8.x e me deparei com esse erro:

Warning: Use of undefined constant FPDF_FONTPATH - assumed 'FPDF_FONTPATH' 
(this will throw an Error in a future version of PHP) 
in /var/www/vendor/nfephp-org/sped-da/src/Legacy/FPDF/Fpdf181.php:100

Fiz uma correção simples para resolver o problema.

- Descrição erro: Warning: Use of undefined constant FPDF_FONTPATH - assumed 'FPDF_FONTPATH' (this will throw an Error in a future version of PHP)
@robmachado robmachado merged commit a305570 into nfephp-org:master Nov 8, 2023
@ricardoapaes ricardoapaes deleted the fix-error-const branch November 8, 2023 13:46
@ricardoapaes
Copy link
Contributor Author

Obrigado @robmachado
Deus abençoe

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

Successfully merging this pull request may close these issues.

2 participants