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