Hi,
When I call the following MySQL stored Procedure using a Custom Query I get the following error;
Cannot read properties of undefined (reading ‘name’)
Can anyone explain why?
Many thanks
Charles
Hi,
When I call the following MySQL stored Procedure using a Custom Query I get the following error;
Cannot read properties of undefined (reading ‘name’)
Can anyone explain why?
Many thanks
Charles
There appears to be a typo in the query syntax. P:1 instead of :P1
Hi,
Thank you for looking. I have corrected the typo but still get the same error.
Have you defined a direct database connection in the Database Manager?
I mean in the Database Manager panel
And when you test it - is it also fine and do you see the tables there?
If you need me to ask the developer of the SP anything please let me know.
Hi Teodor,
Are you able to shed any light as to what the error, (reading ‘name’) is referring to?
One more thing i see here is the syntax - it should be without the quotes around :P1
Hi Teodor,
I have tried it with and without as per another post I found and I still get the same error.
In phpMyAdmin the SP executes OK and returns the expected values so I don’t understand what the (reading ‘name’) is referring to.
Does the SP work when you have no parameter?
Do you see an error in the Wappler console? Please start Wappler with logging enabled and send us the log file.
Could you also try to turn the experimental options on in Wapplers Global Seetings / System.
Then try again.
Have uploaded bug report