MN
Asked
Hello,
Please there is a PHP Parse error: syntax error, unexpected '?' in /home/****/public_html/app/core/MY_Controller.php on line 106
It was gotten from my error log. Please what could be responsible for that???
Thank you
Please there is a PHP Parse error: syntax error, unexpected '?' in /home/****/public_html/app/core/MY_Controller.php on line 106
It was gotten from my error log. Please what could be responsible for that???
Thank you
- MSAnsweredHello,
It won't show any page if you are not php7. I thought your site is not loading and you getting that error. If the error log is keep coming that might be due to cli version as cron job cloud cause that too. Can you check the error log date. If it's latest then check cli version. I can't think of any other reason.
Thank you - MNAnsweredThank you so much but what is CLI....
Meanwhile please see attached a screenshot of the error log
Thank youAttachments - MSAnsweredHello,
I can see it was logged on 31st August 2020. If there is no log after that then you don't have to bother it. If you are getting it daily like you have got this on 1st, 2nd to 5th September 2020 then it might be due to cron job.
CLI stands for `command line interface` Once you open command line tool on your server `php -v` command will display you the php version used.
Thank you - Login to Reply