Fatal error: $post is null?
I’ve fixed the problem now. I got hold of my old database dump file from the old server. The reason the indexes weren’t added is because the sql contained rows like: CREATE ALGORITHM=UNDEFINED DEFINER=`tarikbil`@`localhost` SQL SECURITY DEFINER VIEW `wp_ …which was not getting executed due to insufficient user permissions. This meant the consequent indexing lines … Read more