Describe the issue or problem
Hello,
I was in the process of manual installation of OJS 3.4.0.1 on PHP 8.0, MYSQL 5.7, Apache 2.2.
However I face this issue when i go to Create journal → Enter journal details and click on save .
Ajax keeps on loading and doesn’t complete. Reloading the page shows error occured and clicking on journal name shows blank page.
Following error is thrown after enabling debug (debug=On in config.inc.php file) under apache logs :
[DATE] [error] [client {{IP}}] PHP Fatal error: Uncaught Error: Call to a member function getOption() on null in {{[PATH}}/cache/t_compile/00a0a0910209607cb33eb0fe6474f30ed7399ed7^e64e579388e5615e11e939b12134d6ae8679eba6_0.app.frontendpagesindexJournal.tpl.php:37\nStack trace:\n#0 {{[PATH}}/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64ba117d9e5752_60271165(Object(Smarty_Internal_Template))\n#1 {{[PATH}}/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))\n#2 {{[PATH}}/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))\n#3 {{[PATH}}/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 1)\n#4 {{[PATH}}/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, '00a0a0910209607...', NULL, 1)\n#5 {{[PATH}}/lib/pkp/classes/template/PKPTemplateManager.php(1325): Smarty_Internal_TemplateBase->display('frontend/pages/...', NULL, '00a0a0910209607...', NULL)\n#6 {{[PATH}}/pages/index/IndexHandler.php(80): PKP\\template\\PKPTemplateManager->display('frontend/pages/...')\n#7 [internal function]: APP\\pages\\index\\IndexHandler->index(Array, Object(APP\\core\\Request))\n#8 {{[PATH}}/lib/pkp/classes/core/PKPRouter.php(334): call_user_func(Array, Array, Object(APP\\core\\Request))\n#9 {{[PATH}}/lib/pkp/classes/core/PKPPageRouter.php(277): PKP\\core\\PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(APP\\core\\Request), Array, false)\n#10 {{[PATH}}/lib/pkp/classes/core/Dispatcher.php(165): PKP\\core\\PKPPageRouter->route(Object(APP\\core\\Request))\n#11 {{[PATH}}/lib/pkp/classes/core/PKPApplication.php(373): PKP\\core\\Dispatcher->dispatch(Object(APP\\core\\Request))\n#12 {{[PATH}}/index.php(21): PKP\\core\\PKPApplication->execute()\n#13 {main}\n thrown in {{[PATH}}/cache/t_compile/00a0a0910209607cb33eb0fe6474f30ed7399ed7^e64e579388e5615e11e939b12134d6ae8679eba6_0.app.frontendpagesindexJournal.tpl.php on line 37
What could be the issue ?. Can you please replicate?.
Steps I took leading up to the issue
For example:
- Go to ‘Create journal’
- Enter journal details.
- Click on save , nothing happens.
- Turn debug = on in config.inc.php file .
What application are you using?
3.4.0.1
Additional information
Please add any screenshots, logs or other information we can use to investigate this problem.