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

Problema ao cadastrar produto #606

Closed
GabrielPintoSouza opened this issue Jun 19, 2024 · 0 comments
Closed

Problema ao cadastrar produto #606

GabrielPintoSouza opened this issue Jun 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@GabrielPintoSouza
Copy link
Collaborator

Em /html/cadastro_produto.php ao clicar no botão de Enviar a seguinte mensagem de erro aparece: Fatal error: Uncaught InvalidArgumentException: O id de uma categoria deve ser um inteiro maior ou igual a 1. in /var/www/WeGIA/classes/Produto.php:60 Stack trace: #0 /var/www/WeGIA/controle/ProdutoControle.php(106): Produto->set_categoria_produto() #1 /var/www/WeGIA/controle/control.php(20): ProdutoControle->incluir() #2 {main} thrown in /var/www/WeGIA/classes/Produto.php on line 60

@GabrielPintoSouza GabrielPintoSouza self-assigned this Jun 19, 2024
@GabrielPintoSouza GabrielPintoSouza added the bug Something isn't working label Jun 19, 2024
GabrielPintoSouza added a commit that referenced this issue Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant