You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These two lines are causing the below error. I tried doing some debugging and different methods to fix but had simillar issues across the file. What may be causing me to get this issue and any suggestions on how to fix it? I was given a partially done research project to try and working without any prior instructions other than the errors telling me it couldn't find the __CondorcetAutoload.php so I started trying to get this working.
Thanks!
Parse error: syntax error, unexpected '?', expecting function (T_FUNCTION) or const (T_CONST) in C:\Users\mcurr\Documents\GitHub\CondorcetPHP\lib\Election.php on line 28
The text was updated successfully, but these errors were encountered:
(ps: Probably I can add a version check and fatal error on __CondorcetAutoload.php, but I suggest to use ComposerPHP autoloader instead, Composer do all checks)
| Q Election.php throwing Parse Error
| --------------------| ---------------
| Type | Support
| Condorcet version | 3.1.0
| PHP version | 7.3.29
| Installation Method | __CondorcetAutoload.php
protected static ?int $_maxParseIteration = null; protected static ?int $_maxVoteNumber = null;
These two lines are causing the below error. I tried doing some debugging and different methods to fix but had simillar issues across the file. What may be causing me to get this issue and any suggestions on how to fix it? I was given a partially done research project to try and working without any prior instructions other than the errors telling me it couldn't find the
__CondorcetAutoload.php
so I started trying to get this working.Thanks!
Parse error: syntax error, unexpected '?', expecting function (T_FUNCTION) or const (T_CONST) in C:\Users\mcurr\Documents\GitHub\CondorcetPHP\lib\Election.php on line 28
The text was updated successfully, but these errors were encountered: