Notice: Undefined index: template in /home/pete/html/ on line 313

Notice: Undefined variable: results in /home/pete/html/ on line 409

Warning: count(): Parameter must be an array or an object that implements Countable in /home/pete/html/ on line 409

Notice: Undefined index: body in /home/pete/html/ on line 166

Notice: Array to string conversion in /home/pete/html/ on line 517