Gauravk Posted December 11, 2023 Share Posted December 11, 2023 Please help Link to comment Share on other sites More sharing options...
Jim M Posted December 11, 2023 Share Posted December 11, 2023 Unfortunately, I wasn't able to reproduce this. However, before we continue too far, I would suggest upgrading or disabling the following third party add-ons to ensure they are not involved. applications/easypopup/hooks/includeJSandCSS.php applications/memberscountry/hooks/dispatcherFront.php plugins/aedtousdconversion/hooks/aedtousd_patterns.php applications/singledriveandwaitlist/hooks/OutputOverride.php applications/drives/hooks/drivesData.php applications/membersshop/hooks/MemberHook.php applications/memberscountry/hooks/friendlyUrl.php applications/membersshop/hooks/GroupHook.php Link to comment Share on other sites More sharing options...
Gauravk Posted December 11, 2023 Author Share Posted December 11, 2023 Thanks Jim, here is the reply from one of the developer. Quote The error in the system logs is NOT related to the plugins. It's a bug in Invision it looks like - if guests hit the event-search endpoint without filling anything in on the form, it causes an error due to a bug in the code. It isn't going to be easy to duplicate on your end, but all it takes is submitting an AJAX request (which, to Invision, just means a particular HTTP header is present) to this URL without submitting the form: https://carnity.com/events/event-search/ . I would recommend reporting this to Invision Link to comment Share on other sites More sharing options...
Jim M Posted December 11, 2023 Share Posted December 11, 2023 4 minutes ago, Gauravk said: Thanks Jim, here is the reply from one of the developer. Unfortunately, this isn't something I was able to reproduce on an installation without modifications in normal operation of the software. I would still recommend disabling and testing again. Link to comment Share on other sites More sharing options...
rebraf Posted December 11, 2023 Share Posted December 11, 2023 @Jim M Brandon here. You need to submit the request as an "AJAX" request, that's the key. Here's a code snippet you can drop into postman or execute on the server to reproduce. It will cause the error on demand. curl --location '{base_url}/events/event-search/' \ --header 'X-Requested-With: XMLHttpRequest' \ Swap out {base_url} with an Invision base URL. I can reproduce the error here on this community easily with this for instance: curl --location 'https://invisioncommunity.com/events/event-search/' \ --header 'X-Requested-With: XMLHttpRequest' \ Hope this helps! The problem is that the $select variable in the controller isn't initialized basically (or rather, it's initialized inside an if statement but that if statement isn't hit, however a separate query is ran for AJAX requests later on expecting the variable to be set). Daniel F and Gauravk 2 Link to comment Share on other sites More sharing options...
Jim M Posted December 11, 2023 Share Posted December 11, 2023 Thanks @Gauravk and @rebraf! Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release. Gauravk and rebraf 1 1 Link to comment Share on other sites More sharing options...
Marc Posted March 14 Share Posted March 14 This has now been resolved in the 4.7.16 release. Please update if you are seeing this issue. If you are then still seeing the issue, please let us know. Link to comment Share on other sites More sharing options...
Recommended Posts