Tried with a new clean theme
IPS\Db\Exception::1064
SELECT COUNT(*) FROM `core_rc_index` WHERE (( ( class='IPS\\core\\Messenger\\Conversation' AND ( perm_id IN(6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,431,470,471,545,546,551,552,553,580,582,583,586,587) ) OR perm_id IS NULL )) OR ( ( class='IPS\\core\\Messenger\\Message' AND ( perm_id IN(6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,431,470,471,545,546,551,552,553,580,582,583,586,587) ) OR perm_id IS NULL )) OR ( ( class='IPS\\forums\\Topic' AND ( perm_id IN(2,157,166,168,173,176,179,182,187,193,196,201,204,218,221,453,455,532,561) ) OR perm_id IS NULL )) OR ( ( class='IPS\\forums\\Topic\\Post' AND ( perm_id IN(2,157,166,168,173,176,179,182,187,193,196,201,204,218,221,453,455,532,561) ) OR perm_id IS NULL )) OR ( ( class='IPS\\forums\\Topic\\ArchivedPost' AND ( perm_id IN(2,157,166,168,173,176,179,182,187,193,196,201,204,218,221,453,455,532,561) ) OR perm_id IS NULL )) OR ( class='IPS\\blog\\Entry' ) OR ( class='IPS\\blog\\Entry\\Comment' ) OR ( ( class='IPS\\calendar\\Event' AND ( perm_id IN(3,145,209,211,213,251,253,255,257,259,261,263,265,267,269,271,273,311,313,315,535) ) OR perm_id IS NULL )) OR ( ( class='IPS\\calendar\\Event\\Comment' AND ( perm_id IN(3,145,209,211,213,251,253,255,257,259,261,263,265,267,269,271,273,311,313,315,535) ) OR perm_id IS NULL )) OR ( ( class='IPS\\calendar\\Event\\Review' AND ( perm_id IN(3,145,209,211,213,251,253,255,257,259,261,263,265,267,269,271,273,311,313,315,535) ) OR perm_id IS NULL )) OR ( ( class='IPS\\cms\\Pages\\PageItem' AND ( perm_id IN(79,80,81,82,93,96,139,140,143,144,294,295,296,298,299,300,301,302,303,304,305,306,307,308,309,310,322,323,324,325,326,327,328,329,330,331,332,333,334,336,337,338,339,340,341,342,343,368,369,370,371,372,385,389,393,397,401,418,421,426,428,430,435,439,443,447,451,461,475,477,478,480,481,482,517,523,524,525,526,527,538,539,540,541,542,544,562,563,564,566,567,570,571,572,573,574,575,581,588,589,590) ) OR perm_id IS NULL )) OR ( ( class='IPS\\cms\\Records1' AND ( perm_id IN(79,80,81,82,139,140,143,144,294,295,296,298,300,301,302,303,304,305,306,307,308,322,323,324,325,327,328,329,330,331,332,333,334,336,338,340,341,342,343,368,370,371,372,385,389,393,397,401,418,421,426,428,435,439,443,447,451,461,477,478,480,482,523,524,525,526,538,539,540,541,567,588) ) OR perm_id IS NULL )) OR ( ( class='IPS\\cms\\Records6' AND ( perm_id IN(79,80,81,82,139,140,143,144,294,295,296,298,300,301,302,303,304,305,306,307,308,322,323,324,325,327,328,329,330,331,332,333,334,336,338,340,341,342,343,368,370,371,372,385,389,393,397,401,418,421,426,428,435,439,443,447,451,461,477,478,480,482,523,524,525,526,538,539,540,541,567,588) ) OR perm_id IS NULL )) OR ( ( class='IPS\\cms\\Records8' AND ( perm_id IN(79,80,81,82,139,140,143,144,294,295,296,298,300,301,302,303,304,305,306,307,308,322,323,324,325,327,328,329,330,331,332,333,334,336,338,340,341,342,343,368,370,371,372,385,389,393,397,401,418,421,426,428,435,439,443,447,451,461,477,478,480,482,523,524,525,526,538,539,540,541,567,588) ) OR perm_id IS NULL )) OR ( ( class='IPS\\cms\\Records9' AND ( perm_id IN(79,80,81,82,139,140,143,144,294,295,296,298,300,301,302,303,304,305,306,307,308,322,323,324,325,327,328,329,330,331,332,333,334,336,338,340,341,342,343,368,370,371,372,385,389,393,397,401,418,421,426,428,435,439,443,447,451,461,477,478,480,482,523,524,525,526,538,539,540,541,567,588) ) OR perm_id IS NULL )) OR ( ( class='IPS\\cms\\Records10' AND ( perm_id IN(79,80,81,82,139,140,143,144,294,295,296,298,300,301,302,303,304,305,306,307,308,322,323,324,325,327,328,329,330,331,332,333,334,336,338,340,341,342,343,368,370,371,372,385,389,393,397,401,418,421,426,428,435,439,443,447,451,461,477,478,480,482,523,524,525,526,538,539,540,541,567,588) ) OR perm_id IS NULL )) OR ( ( class='IPS\\cms\\Records12' AND ( perm_id IN(79,80,81,82,139,140,143,144,294,295,296,298,300,301,302,303,304,305,306,307,308,322,323,324,325,327,328,329,330,331,332,333,334,336,338,340,341,342,343,368,370,371,372,385,389,393,397,401,418,421,426,428,435,439,443,447,451,461,477,478,480,482,523,524,525,526,538,539,540,541,567,588) ) OR perm_id IS NULL )) OR ( ( class='IPS\\cms\\Records13' AND ( perm_id IN(79,80,81,82,139,140,143,144,294,295,296,298,300,301,302,303,304,305,306,307,308,322,323,324,325,327,328,329,330,331,332,333,334,336,338,340,341,342,343,368,370,371,372,385,389,393,397,401,418,421,426,428,435,439,443,447,451,461,477,478,480,482,523,524,525,526,538,539,540,541,567,588) ) OR perm_id IS NULL )) OR ( ( class='IPS\\cms\\Records15' AND ( perm_id IN(79,80,81,82,139,140,143,144,294,295,296,298,300,301,302,303,304,305,306,307,308,322,323,324,325,327,328,329,330,331,332,333,334,336,338,340,341,342,343,368,370,371,372,385,389,393,397,401,418,421,426,428,435,439,443,447,451,461,477,478,480,482,523,524,525,526,538,539,540,541,567,588) ) OR perm_id IS NULL )) OR ( ( class='IPS\\cms\\Records17' AND ( perm_id IN(79,80,81,82,139,140,143,144,294,295,296,298,300,301,302,303,304,305,306,307,308,322,323,324,325,327,328,329,330,331,332,333,334,336,338,340,341,342,343,368,370,371,372,385,389,393,397,401,418,421,426,428,435,439,443,447,451,461,477,478,480,482,523,524,525,526,538,539,540,541,567,588) ) OR perm_id IS NULL )) OR ( ( class='IPS\\cms\\Records18' AND ( perm_id IN(79,80,81,82,139,140,143,144,294,295,296,298,300,301,302,303,304,305,306,307,308,322,323,324,325,327,328,329,330,331,332,333,334,336,338,340,341,342,343,368,370,371,372,385,389,393,397,401,418,421,426,428,435,439,443,447,451,461,477,478,480,482,523,524,525,526,538,539,540,541,567,588) ) OR perm_id IS NULL )) OR ( ( class='IPS\\downloads\\File' AND ( perm_id IN(4,345,346,348,350,352,354,356,359,361,363,365) ) OR perm_id IS NULL )) OR ( ( class='IPS\\downloads\\File\\Comment' AND ( perm_id IN(4,345,346,348,350,352,354,356,359,361,363,365) ) OR perm_id IS NULL )) OR ( ( class='IPS\\downloads\\File\\Review' AND ( perm_id IN(4,345,346,348,350,352,354,356,359,361,363,365) ) OR perm_id IS NULL )) OR ( ( class='IPS\\gallery\\Image' AND ( perm_id IN(117,158,160,162,164,224,227,230,233,236,238,241,247,250,275,278,281,286,289,292,533,534) ) OR perm_id IS NULL )) OR ( ( class='IPS\\gallery\\Image\\Comment' AND ( perm_id IN(117,158,160,162,164,224,227,230,233,236,238,241,247,250,275,278,281,286,289,292,533,534) ) OR perm_id IS NULL )) OR ( ( class='IPS\\gallery\\Image\\Review' AND ( perm_id IN(117,158,160,162,164,224,227,230,233,236,238,241,247,250,275,278,281,286,289,292,533,534) ) OR perm_id IS NULL )) OR ( ( class='IPS\\gallery\\Album\\Item' AND ( perm_id IN(117,158,160,162,164,224,227,230,233,236,238,241,247,250,275,278,281,286,289,292,533,534) ) OR perm_id IS NULL )) OR ( ( class='IPS\\gallery\\Album\\Comment' AND ( perm_id IN(117,158,160,162,164,224,227,230,233,236,238,241,247,250,275,278,281,286,289,292,533,534) ) OR perm_id IS NULL )) OR ( ( class='IPS\\gallery\\Album\\Review' AND ( perm_id IN(117,158,160,162,164,224,227,230,233,236,238,241,247,250,275,278,281,286,289,292,533,534) ) OR perm_id IS NULL )) OR ( class='IPS\\nexus\\Package\\Item' ) OR ( class='IPS\\nexus\\Package\\Review' ) OR ( ( class='IPS\\form\\Log' AND ( perm_id IN() ) OR perm_id IS NULL ))) AND status IN( 1,2 )
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ) OR perm_id IS NULL ))) AND status IN( 1,2 )' at line 1
Backtrace
#0 /var/www/html/107305/system/Db/Select.php(388): IPS\_Db->preparedQuery('/*b322245::b322...', Array, true)
#1 /var/www/html/107305/system/Db/Select.php(446): IPS\Db\_Select->runQuery()
#2 /var/www/html/107305/system/Db/Select.php(370): IPS\Db\_Select->rewind()
#3 /var/www/html/107305/system/Member/Member.php(3174): IPS\Db\_Select->first()
#4 /var/www/html/107305/system/Theme/Theme.php(885) : eval()'d code(9018): IPS\_Member->reportCount()
#5 /var/www/html/107305/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->mobileNavigation()
#6 /var/www/html/107305/system/Theme/Theme.php(885) : eval()'d code(6894): IPS\Theme\_SandboxedTemplate->__call('mobileNavigatio...', Array)
#7 /var/www/html/107305/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('Home - TPMSC', '\n<div id="elCms...', Array)
#8 /var/www/html/107305/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array)
#9 /var/www/html/107305/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
#10 /var/www/html/107305/system/Dispatcher/Front.php(630): IPS\Dispatcher\_Standard->finish()
#11 /var/www/html/107305/init.php(927) : eval()'d code(37): IPS\Dispatcher\_Front->finish()
#12 /var/www/html/107305/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\cloud_hook_ipsDispatcherFront->finish()
#13 /var/www/html/107305/index.php(13): IPS\_Dispatcher->run()
#14 {main}
Loaded hooks
plugins/supersearchandstreamresults/hooks/sssr_searchlight_dispfront.php
plugins/supersearchandstreamresults/hooks/output.php
applications/trackmembers/hooks/tmIgnoreDelete.php
applications/autowelcome/hooks/validatehook.php
plugins/secondarygroupdisplay/hooks/memberSource.php
applications/trackmembers/hooks/tmContentItem.php
applications/valaadvancedwidgetsetting/hooks/ValaWidget.php
applications/trackmembers/hooks/tmStatusUpdate.php
applications/pci/hooks/formvalues.php
plugins/supersearchandstreamresults/hooks/sssr_gallery_imagesarr.php
applications/trackmembers/hooks/tmMessengerConversation.php
applications/trackmembers/hooks/tmContentComment.php
plugins/supersearchandstreamresults/hooks/sssr_gallery_commentimagesarr.php
applications/trackmembers/hooks/tmClubs.php
plugins/supersearchandstreamresults/hooks/sssr_contentSearchResult.php
System log- IPS.docx