So i ran into this today when I was trying to implement this in my environment:
Fatal error: Call to undefined function: htmlspecialchars_decode() in /homepages/5/d301581944/htdocs/smf/Sources/shop/items/EmailAdmin.php on line 77
I'm not sure what other information you need, but I attached the file in question.