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

SQL error when adding count to field Insert votes in Answers #98

Closed
WoodyF4u opened this issue Mar 25, 2024 · 3 comments
Closed

SQL error when adding count to field Insert votes in Answers #98

WoodyF4u opened this issue Mar 25, 2024 · 3 comments
Labels
bug Something isn't working Joomla 3 Issue occurs while using plugin in Joomla 3 Joomla 4 Issue occurs while using plugin in Joomla 4 Joomla 5 Issue occurs while using plugin in Joomla 5

Comments

@WoodyF4u
Copy link

Hi,
If I go to Answers and then enter a certain value in the Insert Votes field and choose Save, I get this error message:

_An error has occurred.

1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '21??),(6, '', 2024-03-25 21??),(6, '', 2024-03-25 21??)' at line 1_ 

I work with Joomla 5.
Does anyone know how I can solve this?

I also cannot find the field in the SPR tables in the database.
So filling it in manually was not possible either.

Regards,
Wouter

@Jefferson49
Copy link
Owner

Hi Wouter,

thank you for reporting the issue! Sorry, I did not react on your post in #37, because there was something going wrong with the email notification system and I did not get an email.

If I go to Answers and then enter a certain value in the Insert Votes field and choose Save, I get this error message:

Yes, I can reproduce the error and also get a PHP error message. I will check the code in the next days.

@Jefferson49 Jefferson49 added bug Something isn't working Joomla 4 Issue occurs while using plugin in Joomla 4 Joomla 3 Issue occurs while using plugin in Joomla 3 Joomla 5 Issue occurs while using plugin in Joomla 5 labels Mar 26, 2024
@Jefferson49
Copy link
Owner

I found the bug and fixed it in the code. I will publish a bugfix release in the next days.

@Jefferson49
Copy link
Owner

I have just published a bugfix release v5.5.1, which fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Joomla 3 Issue occurs while using plugin in Joomla 3 Joomla 4 Issue occurs while using plugin in Joomla 4 Joomla 5 Issue occurs while using plugin in Joomla 5
Projects
None yet
Development

No branches or pull requests

2 participants