Fixed: frontend url generation leads to php exceptions