In my system there is a part to list competitions. When a competition signup opens later then today there should be like this: "Signup opens 2022-08-29" The program row in the app/models/competition.php looks like this:
252 elseif($this->status == 'not_opened'):
253 return _('Signup opens %s', $this->signups_opening_date);
But when I open the list I got an error as this:
(ArgumentCountError(code: 0): _() expects exactly 1 argument, 2 given at /Users/ralph/laravel9-final/Webshooter_web_Laravel9/app/Models/Competition.php:253)
It suppose to get the date from the database and show after Signup opens.....
What can be wrong?
But... In other places the date appears as here:
<tr>
<td width="40%">{{_('Opens for signup')}}</td>
<td><% competitions.competition.signups_opening_date %></td>
</tr>
Shows like this: Opens for signup 2022-08-22