However, i have tried adding the ‘session_lifetime’ and ‘auto_logout’ into AIO’s config.php and it stops the website from running, on deletion it works again.
Stops from running… how? Can you be more specific? What do your browser console and server logs say? You may want to use the support template as guidance to figure out what information to include and where to find it.