Dear All I am trying to install OJS 3.1.0.1 on my server in the first page I will get several PHP error the log is as following let me know how to solve that. I have to say that in the lat installation I did not get such errors.
[28-Dec-2017 14:38:02 UTC] PHP Strict Standards: Declaration of InstallHandler::validate() should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /home/my homepage/public_html/journals/lib/pkp/pages/install/InstallHandler.inc.php on line 0
[28-Dec-2017 14:38:02 UTC] PHP Deprecated: Non-static method Application::getName() should not be called statically, assuming $this from incompatible context in /home/my homepage/public_html/journals/lib/pkp/classes/install/form/InstallForm.inc.php on line 146
[28-Dec-2017 14:38:02 UTC] PHP Deprecated: Non-static method Application::getName() should not be called statically, assuming $this from incompatible context in /home/my homepage/public_html/journals/lib/pkp/classes/install/form/InstallForm.inc.php on line 148
[28-Dec-2017 14:38:02 UTC] PHP Deprecated: Non-static method Application::getName() should not be called statically, assuming $this from incompatible context in /home/my homepage/public_html/journals/lib/pkp/classes/install/form/InstallForm.inc.php on line 150
[28-Dec-2017 14:38:02 UTC] PHP Deprecated: Non-static method VersionCheck::getCurrentCodeVersion() should not be called statically, assuming $this from incompatible context in /home/my homepage/public_html/journals/lib/pkp/classes/install/form/MaintenanceForm.inc.php on line 37
[28-Dec-2017 14:38:02 UTC] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/my homepage/public_html/journals/lib/pkp/classes/form/Form.inc.php on line 369
[28-Dec-2017 14:38:02 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/my homepage/public_html/journals/lib/pkp/classes/core/PKPRequest.inc.php on line 592
These are warnings, not errors, and are cosmetic; we’ll resolve them gradually over the next few releases. Just make sure that your error messages are directed to your PHP error log, not the browser, as is recommended for a production installation of any PHP app.
Regards,
Alec Smecher
Public Knowledge Project Team
Many thanks for your helpful answer. Actually I have this error in my PHP log how can resolve them?
[31-Dec-2017 13:17:43 UTC] PHP Deprecated: Non-static method Config::getContextBaseUrls() should not be called statically, assuming $this from incompatible context in /home/public_html/onlinejournals/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 199
[31-Dec-2017 13:17:43 UTC] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/public_html/onlinejournals/classes/article/SubmissionFileDAO.inc.php on line 23
[31-Dec-2017 13:19:08 UTC] PHP Strict Standards: Declaration of ArticleHandler::initialize() should be compatible with PKPHandler::initialize($request) in /home/public_html/onlinejournals/pages/article/ArticleHandler.inc.php on line 0
[31-Dec-2017 13:19:09 UTC] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/public_html/onlinejournals/classes/article/SubmissionFileDAO.inc.php on line 23
[31-Dec-2017 13:19:09 UTC] PHP Strict Standards: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId() should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /home/public_html/onlinejournals/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on line 20
[31-Dec-2017 13:19:09 UTC] PHP Deprecated: Non-static method Config::getContextBaseUrls() should not be called statically, assuming $this from incompatible context in /home/public_html/onlinejournals/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 199