Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Content & Markdown

'Mailto' links cause Server Error

Solved by Cecile S View solution

Started by Cecile S 5 years ago · 2 replies · 554 views
5 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).

5 years ago Solution

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

Thanks for this forum, it is helpful 🙂

5 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, 8 months ago
6 96 8 months ago
Content & Markdown · by Ton Haarmans, 1 year ago
10 184 1 year ago
Content & Markdown · by Jan L'Am, 1 year ago
4 147 1 year ago
Content & Markdown · by Leonardo, 1 year ago
3 61 1 year ago
Content & Markdown · by belthasar, 1 year ago
4 255 1 year ago