After upgrading to 8.0.0-beta15, geophp module throws the following error:

Fatal error: Call to undefined method Drupal\Component\Utility\SafeMarkup::set() in [webroot]/modules/contrib/geophp/geophp.module on line 86

This is due to SafeMarkup::set() being removed in beta15. There are recommended replacements in the change record.

Setting this to critical as this will prevent the module from working at all in beta15 and beyond.

CommentFileSizeAuthor
#4 2564103-4.patch1014 bytesmarthinal
#3 geophp-safemarkup.patch1.06 KBjanlaureys

Comments

rootwork created an issue. See original summary.

janlaureys’s picture

Googling that error turned up the same issue in another module. Maybe we could use the included patch as well, or something similar.

https://www.drupal.org/node/2563385

janlaureys’s picture

Status: Active » Needs work
StatusFileSize
new1.06 KB

Quick and kinda dirty fix, just removed the function as it was only a hard coded string that was being parsed by the function.

marthinal’s picture

Status: Needs work » Needs review
StatusFileSize
new1014 bytes

Maybe we could try something like this.

penyaskito’s picture

Status: Needs review » Reviewed & tested by the community

#4 looks good to me

  • plopesc committed f88bff2 on 8.x-1.x authored by marthinal
    Issue #2564103 by JanLaureys, marthinal: geophp module calls SafeMarkup...
plopesc’s picture

Status: Reviewed & tested by the community » Fixed

Committed.
Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.