Error saat install atau upgrade Open Journal System 3
Saat menginstall atau upgrade open journal system 3.x akan mengalami pesan error seperti berikut:
Method Application::getName() should not be called statically in /home/username/public_html/lib/pkp/classes/install/form/InstallForm.inc.php on line 149
Deprecated: Non-static method Application::getName() should not be called statically in /home/username/public_html/lib/pkp/classes/install/form/InstallForm.inc.php on line 151
Deprecated: Non-static method Application::getName() should not be called statically in /home/username/public_html/lib/pkp/classes/install/form/InstallForm.inc.php on line 153
Deprecated: Non-static method VersionCheck::getCurrentCodeVersion() should not be called statically in /home/username/public_html/lib/pkp/classes/install/form/MaintenanceForm.inc.php on line 37
Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /home/username/public_html/lib/pkp/classes/form/Form.inc.php on line 369
Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /home/username/public_html/lib/pkp/classes/core/PKPRequest.inc.php on line 592
Untuk menghilangkan error tersebut, dapat Disabling Strict Standards di pengaturan PHP. caranya berikut:
- Login Cpanel
- Klik menu Select PHP Version / PHP Selector
- Klik link kanan Switch To PHP Options
- Ubah menjadi error_reporting: ~E_ALL
Selanjutnya cek kembali, error akan menghilang karena tidak ada Standar Ketat di PHP. Apabila ada pertanyaan terkait Error saat install atau upgrade Open Journal System 3, silahkan tinggalkan komentar
Dalam cPanel saya tidak ada pilihan/menu Select PHP Version / PHP Selector, solusinya gimana ya?