Thanks for this. I have tried adding their suggested fix to the functions.php file in the theme folder, but this breaks the site and I get a white page.
Is there somewhere else I should be adding the code other than functions.php in the root theme folder?
Many thanks,
Jamie