I am installing OJS 184.108.40.206 but get the following error.
Fatal error : Cannot make static method PKPApplication::getName() non static in class Application in /home/irishgeo/public_html/classes/core/Application.inc.php on line 59
I have checked the PHP version, chown, and chmod settings among other things but don’t seem to locate where the problem lies. I need help to get past this.
Any help to get this resolved and move ahead will be highly appreciated.
Thanks in advance
What’s the PHP version in use?
There is a thread with a similar issue than yours which was caused by using a pre-release version of OJS code. How did you deploy your code? git clone? Have you checked ou the branch to the correct version?
See the post:
When I try to install OJS 3.2 locally I get a php error as follows:
[php7:error] [pid 8800:tid 1896] [client ::1:61941] PHP Fatal error: Cannot make non static method PKPApplication::getName() static in class Application in C:\xampp\htdocs\ojs\classes\core\Application.inc.php on line 35
I use PHP 7.3.4 in an xamp windows environment.