Fix PHP Fatal errors from copypasta when plugin is activated/updated