[RSS Feed/News] Cannot use a positional argument after a named argument

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Trying to learn from the tutorial Kier posted in the Have you seen this forum but I go stuck when attempting to do this:

PHP:

return $this->view( viewClass: 'KSA\Pad:Note\Test', templateName: 'ksa_pad_test', $viewParams);

I get this error:

Cannot use a positional argument after a named argument.

PHP 8

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