Issue #3245016 by DanChadwick: PHP error on form display: " Call to a member function getTokenUrl() on null"