Make an edit and the fans start to rev, wappler freezes, error count at the bottom of the view continually keeps rising and has to be force quit. Unusable at this point.
So you have a page that produces tons of javascript errors? Maybe try to see what errors are those open the bottom error panel or in the browser and check the dev tools for errors.
Usually there is something very wrong with the page - not really wappler’s fault.
Think it has to do with a particular include file where I have a lot of <?php echo $something;?> code inside the double quotes of various dmx-bind: attributes. They work fine on the page in the browser, but perhaps the editor doesn’t like it, cause I’m getting a lot of Lexor and Unexpected Token errors in the editor that I’m not getting the browser console. Probably due to the fact that it doesn’t parse the php now that I think of it. Seems any other page/include that I have this particular include file on, are having the issue I posted here.
Thanks for pointing me in the right direction guys.
You get the error because the design view in Wappler doesn’t run PHP, so it gets an invalid expression there. The many errors it is throwing freezes Wappler, we will have that fixed in upcoming Wappler update.
Well we improved that having thousands of errors not easily crash Wappler and display more nicely.
But having so much errors is fundamentally wrong - so if you really insist in building your data expressions with PHP, then you will have to switch app connect off in design view.
I would suggest not to use PHP in App Connect expressions - those are for client side and should be valid.
So you might want to rethink your logic or as I said switch App Connect off.
Thank you @George, when I wrote this custom lookup field, I was an old school PHP hand coder new to Wappler and would revert to PHP when I couldn’t figure out what I needed to quickly with the interface. When I get some time, I am going too look into trying to rewrite it the more “Wappler” way now that I’m more familiar with the software.