URGENT HELP NEEDED - Large SQL Querie Causing my website to timeout
Upon loading my index.php a query is being built which contains thousand upon thousands of conditions within an SQL query, this query is no so large it is causing my website to timeout. Is there an update to the theme that limits the size of the query built? The query contains conditions such as 'obalerts-51da9e5cd61d8-265|jobalerts-51daa0d917476-266|jobalerts-51daf4b68061a-269|jobalerts-51dbe09a9e94f-271|jobalerts-51dbf3d52a087-273|jobalerts-51dc002388788-275|jobalerts-51dc8d435f0a8-277|jobalerts-523072fd4e3d1-826)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:41:\"[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$\";s:50:\"index.php?attachment=$matches[1]&cpage=$matches[2]\";}', 'yes') ON DUPLICATE KEY UPDATE'"
There must be someone else that has hit this limit, hopefully someone can provide a line of code that will limit the query size.
Many thanks in advance
Steven