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 with 0.21 version on sqlpage.fetch function #325

Closed
ThierryM opened this issue May 20, 2024 · 2 comments
Closed

Error with 0.21 version on sqlpage.fetch function #325

ThierryM opened this issue May 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ThierryM
Copy link

Hi,
With "Ecole Inclusive" (SQLite database) running under SQLPage 0.21, I have a problem when I want to locate a school with the button "Ajouter depuis une carte" :
Sélection_641
Here the error message:
Failed to set the $api_results variable to StmtWithParams { query: "SELECT CAST(? AS TEXT)", params: [FunctionCall(SqlPageFunctionCall { function: fetch, arguments: [GetOrPost("url")] })] }
Error in function call sqlpage.fetch($url). Expected sqlpage.fetch(http_request)
Parameter http_request: Unexpected NULL value
Regard

@ThierryM ThierryM added the bug Something isn't working label May 20, 2024
@DSMejantel
Copy link

Sorry, but the problem was in my code. I have found the error, the variable was not correctly send to the other page who display the map. The 0.21 version is not guilty !

@ThierryM
Copy link
Author

I confirm : issue resolved in École Inclusive.
SQLPage not guilty ;-).

@lovasoa lovasoa closed this as completed Jul 10, 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

3 participants