Commons Joomla errors caused after PHP update and how to fix them