I upgraded from 1.73 to 2 and the first thing I saw was this error message.
Is urlencode no longer available?
I upgraded from 1.73 to 2 and the first thing I saw was this error message.
Is urlencode no longer available?
I don't think Twig filter urlencode has ever been available, but url_encode is...
Maybe you never noticed that urlencode didn't exist, because in the Grav 1.7.x era, Twig errors were happily silenced.
Btw. Grav 2.x (using Twig 3) now shows a proper error when using urlencode and suggests you might mean use url_encode instead.
Makes sense. Thanks
If your issue has been solved, then please mark the post that lead to the solution as "solved" by ticking the "Solution" icon in the lower right corner of that post. By doing so, others will know what solved the issue.
Thanks.
Log in to reply.
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 111 | 1 day ago | ||
| 4 | 201 | 5 days ago | ||
| 3 | 182 | 1 week ago | ||
| 19 | 610 | 3 weeks ago | ||
| 2 | 213 | 3 weeks ago |