Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

'Mailto' links cause Server Error

Solved by Cecile S View solution

Started by Cecile S 6 years ago · 2 replies · 773 views
6 years ago

Hello,

I use Grav v1.7.7 - Admin panel v1.10.6
Since the last update, links in the format mailto:[email protected] cause the page not to display. Instead, the page displays an error :

TXT
Server Error
Sorry, something went terribly wrong!
E_WARNING - Undefined array key "target"

I tried both syntax :
[[email protected]](mailto:[email protected])
or
<a href="mailto:{{ '[email protected]'|safe_email }}">**[email protected]**</a>
but none is working.

Is my syntax wrong or is this a bug ?

Note : I also saw on this forum that this issue already occured in 2016 and was corrected by developpers (Link of the post).

6 years ago Solution

Upgrading our version of Grave to v1.7.10 solved the bug.

Thanks for this forum, it is helpful 🙂

6 years ago

@csc, I'm afraid I cannot reproduce the issue on a fresh installation of Grav 1.7.10 + Admin.

Both syntaxes create valid anchors without throwing errors.

👍 1

Suggested topics

Topic Participants Replies Views Activity
Content & Markdown · by Jochen, 12 months ago
6 1218 12 months ago
Content & Markdown · by Ton Haarmans, 1 year ago
10 974 1 year ago
Content & Markdown · by Jan L'Am, 2 years ago
4 851 2 years ago
Content & Markdown · by Leonardo, 2 years ago
3 775 2 years ago
Content & Markdown · by belthasar, 2 years ago
4 1189 2 years ago