This site has operated perfectly 2018, and then recently the database queries began to fail. When I started investigating, I found the databases with joins were failing due to some reason aliases were added on their own. As this happened, the queries began to fail.
What would cause this to happen inside a site that is this old? I believe the site was built with Wappler 3? I only ask so that I can be aware of the cause and hopefully prevent any further occurrence of this bazaar behavior – if that is possible.
It appears the app started adding aliases to the join queries all by it self. It seemed to replace the aliases that I had assigned. When I found the occurrences, the app seemed to replace existing aliases with ‘undefined’. Once began to happen, of course, the queries started failing. What’s weird is it was all working for years and then for some reason something triggered all these queries to add “UNDEFINED” aliases throughout the site.
This type of activity has popped up throughout the queries of the database. As I alluded to, it seems that activity started around several months or so ago.
If you have any ideas or suggestions of how I can prevent this from happening again, your help is very welcomed and very appreciated!