Hi,
When I open the journal website, I face with blank page.
I checked the errors and found following error;
[01-Mar-2018 10:32:32 Europe/Istanbul] PHP Fatal error: Call to a member function smartyEscape() on string in /home/journalp/public_html/cache/t_compile/a39987ebcab68c42e09656a1612c0fd3624e4b86^%%B5^B5A^B5A5842A%%dashboardMenuItem.tpl.php on line 6
i now get the following errors which were not there before.
[21-Mar-2018 07:51:50 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/stratfo1/public_html/journals/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315
[21-Mar-2018 07:51:50 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/stratfo1/public_html/journals/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[21-Mar-2018 07:51:50 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/stratfo1/public_html/journals/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315
[21-Mar-2018 07:51:50 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/stratfo1/public_html/journals/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[21-Mar-2018 07:51:50 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/stratfo1/public_html/journals/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315
[21-Mar-2018 07:51:50 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/stratfo1/public_html/journals/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[21-Mar-2018 07:51:50 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/stratfo1/public_html/journals/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315
[21-Mar-2018 07:51:50 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/stratfo1/public_html/journals/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[21-Mar-2018 07:51:50 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/stratfo1/public_html/journals/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315
[21-Mar-2018 07:51:50 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/stratfo1/public_html/journals/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[21-Mar-2018 07:51:50 UTC] PHP Deprecated: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/stratfo1/public_html/journals/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409
[21-Mar-2018 07:51:50 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/stratfo1/public_html/journals/classes/core/Request.inc.php on line 68
[21-Mar-2018 07:51:50 UTC] PHP Fatal error: Smarty error: [in frontend/components/headerHead.tpl line 15]: syntax error: unrecognized tag: dataLayer.push(arguments); (Smarty_Compiler.class.php, line 446) in /home/stratfo1/public_html/journals/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1094
I suspect there’s some kind of local modification to your code that’s causing this message:
PHP Fatal error: Smarty error: [in frontend/components/headerHead.tpl line 15]: syntax error: unrecognized tag: dataLayer.push(arguments); (Smarty_Compiler.class.php, line 446) in /home/stratfo1/public_html/journals/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1094
Check that there’s not some kind of modification to lib/pkp/templates/frontend/components/headerHead.tpl.
Regards,
Alec Smecher
Public Knowledge Project Team
Can you make any modification or things before the blank page?
I think this problem is generally associated with php errors occurring because of modification.
Hi all,
With Ojs 3.1.0.0, I got the same issue after modifying header. Here is the error log
[18-May-2018 07:39:06 UTC] PHP Fatal error: Call to a member function smartyEscape() on string in /home/k1504467/public_html/cache/t_compile/6af727b9b08e2f30da86b424446674f636cb2cb5^%%B5^B5A^B5A5842A%%dashboardMenuItem.tpl.php on line 6
[18-May-2018 07:39:14 UTC] PHP Strict Standards: Declaration of PiwikPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/k1504467/public_html/plugins/generic/piwik/PiwikPlugin.inc.php on line 0
[18-May-2018 07:39:14 UTC] PHP Strict Standards: Declaration of OpenAIREDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/k1504467/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[18-May-2018 07:39:14 UTC] PHP Strict Standards: Declaration of DRIVERDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/k1504467/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 0
[18-May-2018 07:39:14 UTC] PHP Fatal error: Call to a member function smartyEscape() on string in /home/k1504467/public_html/cache/t_compile/6af727b9b08e2f30da86b424446674f636cb2cb5^%%B5^B5A^B5A5842A%%dashboardMenuItem.tpl.php on line 6