[RSS Feed/News] Accessing error parameters in template

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I want to modify the error template to display more info on some of my custom errors. How do I access the params shown in this dump from the template?
Code:

Code:
array:4 [▼
  "xf" => array:36 [▶]
  "errors" => array:1 [▶]
  "error" => Phrase {#282 ▼
    #language: Language {#232 ▶}
    #name: "my_error_name"
    #params: array:3 [▼
      "my_error_param" => 128
      "my_error_url" => "https://www.whateversomething.co.uk/"
      "my_error_otherstuff" => true
    ]
    #allowHtml: true...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom