Error in URLHelper.php on line 317

Hello,

I’ve updated to the latest backlight 6 modules. Now I’m faced with an error and can’t see my albums:

Unexpected error: preg_replace(): Unknown modifier ‘P’ in URLHelper.php on line 317

My homepage: foto.erwin-singvogel.de

Who can look after this error and give advice what I can do?

Regards, Erwin

Hi @EASi, this was caused by our latest changes not handling underscores in URLs.

I’ve applied a silent update to address this. Can you visit your Backlight Modules page and reinstall the module-publisher module?

Hi Ben,

yes, some of my albums contain underscores.

After having reinstalled the module-publisher (8.5.0), the error doesn’t disappear. Same error as before.

Hi @EASi, my apologies. It was module-framework that had the fix. I misread what had been updated. Can you please try and reinstall that module?

Hi Ben,

after having reinstalled module-framework my homepage is running without the reported error.

Thank you for your advice.

Best regards, Erwin

1 Like

Hi Erwin, that’s great to hear, and thanks for letting me know.