Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
indomitable_merged Posted March 20, 2023 Posted March 20, 2023 A user has pointed this out and I have confirmed I can repeat it. Entering something in the search box then pressing enter results in "This page isn't working" and "HTTP ERROR 500" There are two entries in the error log but they refer to repeated searches in a short time e.g. please wait 18 more seconds... PHP8, IB Version 4.7.8
Jim M Posted March 20, 2023 Posted March 20, 2023 Could I please confirm that you are checking the error log entry on your server rather than the error log in our software's ACP? A 500 Internal Serve Error will stop our software from processing so would not be logged in our software's error log. You would need to get your server's error log to see the issue here. If you are unsure how to do that, please contact your hosting provider.
indomitable_merged Posted March 21, 2023 Author Posted March 21, 2023 Ah OK will do that - thank you.
indomitable_merged Posted March 21, 2023 Author Posted March 21, 2023 This is what the error log shows for each attempt at a search: PHP Fatal error: Declaration of IPS\Theme\hook1::filters() must be compatible with IPS\Theme\class_core_front_search::filters($baseUrl, $count, $id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class = '', $attributes = [], $sidebar = null, $form = null, $errorTabs = null) in /home/osforums/public_html/system/Theme/Theme.php(951) : eval()'d code on line 173
Solution Randy Calvert Posted March 21, 2023 Solution Posted March 21, 2023 It looks like one of your third party plugins is interfering and not working right. Turn them off one by one to find the culprit and then work with the resource author. 🙂 SeNioR- 1
Marc Posted March 21, 2023 Posted March 21, 2023 In addition, if you click the hooks button on the admin CP and look for hook 1, you should find the name of the app/plugin Randy Calvert and SeNioR- 2
indomitable_merged Posted March 22, 2023 Author Posted March 22, 2023 21 hours ago, Marc Stridgen said: In addition, if you click the hooks button on the admin CP and look for hook 1, you should find the name of the app/plugin Thanks Marc. Can you point me to where that button might be?
indomitable_merged Posted March 22, 2023 Author Posted March 22, 2023 (edited) Turns out the search works if I switch off the Birthdays Widget from @Adriano Faria. I had only just added that because the users wanted birthdays back in the calendar - ironic. Edited March 22, 2023 by indomitable_merged
Randy Calvert Posted March 22, 2023 Posted March 22, 2023 I use that widget myself and don't have a problem with searching. So it might be something unique to your setup. Also try reinstalling it again and see if the problem comes back. It might just be a bad install. Adriano Faria, SeNioR- and indomitable_merged 3
Adriano Faria Posted March 22, 2023 Posted March 22, 2023 16 minutes ago, indomitable_merged said: Turns out the search works if I switch off the Birthdays Widget from @Adriano Faria. I had only just added that because the users wanted birthdays back in the calendar - ironic. Curious to know what a widget that has absolutely nothing to do with search breaks your search. 🤷🏻♂️ Post any logs you have. Let’s check it out. SeNioR- and indomitable_merged 2
Marc Posted March 22, 2023 Posted March 22, 2023 3 hours ago, indomitable_merged said: Thanks Marc. Can you point me to where that button might be? I see you have found the issue now, but if you ever need this again, its in the support section of the admin CP, as indicated here indomitable_merged 1
indomitable_merged Posted March 23, 2023 Author Posted March 23, 2023 21 hours ago, Adriano Faria said: Curious to know what a widget that has absolutely nothing to do with search breaks your search. 🤷🏻♂️ Post any logs you have. Let’s check it out. Thank you but it seems I blamed your widget unfairly. I re-enabled it and search still worked - so I have no idea why it was producing an error but it no longer is! Thanks all. Adriano Faria 1
Recommended Posts