This might fix the Spotlight search if the usual rebuild doesn't work. This is often shown when search works in some accounts, but not others, on the same machine
Remove these files and folders from the local library... Preferences > com.apple.spotlight.mdwrite.plist Preferences > com.apple.spotlight.plist Preferences > com.apple.spotlightknowledge.plist. Caches > com.apple.spotlight Application Support > com.apple.spotlight
Warning: mysqli_connect(): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 32
Warning: mysqli_connect(): Error while reading greeting packet. PID=28911 in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 32
Warning: mysqli_connect(): (HY000/2006): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 32
Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 33
Could not connect to MySQL: