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

ERROR invalid input syntax for type numeric: "Infinity" #149

Open
zylim97 opened this issue Mar 29, 2022 · 3 comments
Open

ERROR invalid input syntax for type numeric: "Infinity" #149

zylim97 opened this issue Mar 29, 2022 · 3 comments

Comments

@zylim97
Copy link

zylim97 commented Mar 29, 2022

when opening the calendar view page, pop out a toaster write ERROR invalid input syntax for type numeric: "Infinity"
ACL log report 2022-03-29T07:07:15.978Z [4567/13267] - �[31merror�[39m: invalid input syntax for type numeric: "Infinity" {"name":"error","length":105,"severity":"ERROR","code":"22P02","file":"numeric.c","line":"4610","routine":"set_var_from_str"}

plugin version: 1.0.0-alpha.50
Nodebb version: 1.12.2

@pitaj
Copy link
Owner

pitaj commented Mar 29, 2022

You're on a very old version of NodeBB and this plugin. Please try upgradimg NodeBB and using the latest version of the plugin.

@zylim97
Copy link
Author

zylim97 commented May 23, 2022

Update:
Change Nodebb version to v2.0.0, plugin version to 1.2.0 node version v16.15.0, error still exist, suspect error is due to database I used for my Nodebb is PostgreSQL v13.3-1, change to MongoDB error no exist anymore

@davebeyer
Copy link

I also saw this error and was able to eliminate it by upgrading my old version of PostgreSQL to v15.

This Stack Overflow thread appears to give more credence, with this comment:

PostgreSQL will support numeric +inf/-inf from v14 🎉

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

3 participants