Failed AJAX request or invalid JSON returned

I have just upgraded from OMP 1.0.0.0-0 to 1.1.1-1, and accounted the referenced error message: “Failed AJAX request or invalid JSON returned”, when working on “Add Market” for a newly accepted book. Could someone help me figure out what went wrong, and how to resolve it?
I am a new user of OMP, and your help will be greatly appreciated.

1 Like

Hi @liugr,

Can you check your server’s PHP error log? There should be details there.

Regards,
Alec Smecher
Public Knowledge Project Team

Dear Alec,
Many thanks. I checked /var/log/php5-fpm.log, and could not find any error message related to this. Below are the other log files. Which one should I look at, and how (some of them are not text files). I made sure that in apache2/php.ini, fpm/php.ini, and cgi/php.ini, all error logs are put under /var/log.
Best regards, GR

/var/log$ ll -t | head
total 78652
-rw-rw-r-- 1 root utmp 12672 Apr 7 15:39 wtmp
-rw-r–r-- 1 root root 5405 Apr 7 15:39 boot.log
-rw-r----- 1 root adm 1017 Apr 7 15:39 fail2ban.log
-rw-rw-r-- 1 root utmp 294044 Apr 7 15:39 lastlog
drwxr-xr-x 2 root root 12288 Apr 7 15:38 upstart/
-rw------- 1 root root 97 Apr 7 15:38 php5-fpm.log
drwxrwxr-x 15 root syslog 4096 Apr 7 15:38 ./
-rw-r----- 1 root adm 21288 Apr 7 15:38 dmesg
-rw-r–r-- 1 root root 326349 Apr 7 15:38 udev

Dear Alec (and others),
Thanks again.
This problem is resolved. However, I do not know exactly what has happened. What I did was just try to fill in the information for the to-be-published book as much as possible. After I did multiple inputs in multiple places, the error was gong. It seems that if some key information is not given, one may encounter this type of error. Sorry, I do not know which the key piece of information was, because I did too many. But you got the idea…
Best, GR.

Current version: 3.1.0.0 (December 12, 2017 - 09:57 PM) same proble is facing to createing meanu on home page.
image

Hi @JyotiKant,

As above, please check your PHP error log for details.

Regards,
Alec Smecher
Public Knowledge Project Team

text/x-generic error_log ( ASCII text, with very long lines )
[06-Jan-2018 22:40:33 Asia/Kolkata] PHP Strict Standards: Declaration of DRIVERDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/csvtujou/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[06-Jan-2018 22:40:33 Asia/Kolkata] PHP Strict Standards: Declaration of OpenAIREDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/csvtujou/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 0
[06-Jan-2018 22:40:33 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:33 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:33 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:33 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:34 Asia/Kolkata] PHP Strict Standards: Declaration of DRIVERDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/csvtujou/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[06-Jan-2018 22:40:34 Asia/Kolkata] PHP Strict Standards: Declaration of OpenAIREDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/csvtujou/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 0
[06-Jan-2018 22:40:34 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:34 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:34 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:34 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of DRIVERDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/csvtujou/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of OpenAIREDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/csvtujou/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 0
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of NavigationMenuForm::fetch() should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/csvtujou/public_html/lib/pkp/controllers/grid/navigationMenus/form/NavigationMenuForm.inc.php on line 20
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of NavigationMenuForm::validate() should be compatible with Form::validate($callHooks = true) in /home/csvtujou/public_html/lib/pkp/controllers/grid/navigationMenus/form/NavigationMenuForm.inc.php on line 20
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of DRIVERDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/csvtujou/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of OpenAIREDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/csvtujou/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 0
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of NavigationMenuItemsForm::fetch() should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/csvtujou/public_html/lib/pkp/controllers/grid/navigationMenus/form/NavigationMenuItemsForm.inc.php on line 19
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of NavigationMenuItemsForm::validate() should be compatible with Form::validate($callHooks = true) in /home/csvtujou/public_html/lib/pkp/controllers/grid/navigationMenus/form/NavigationMenuItemsForm.inc.php on line 19
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of NavigationMenuItemsForm::execute() should be compatible with Form::execute() in /home/csvtujou/public_html/lib/pkp/controllers/grid/navigationMenus/form/NavigationMenuItemsForm.inc.php on line 19
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:36 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:43 Asia/Kolkata] PHP Strict Standards: Declaration of DRIVERDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/csvtujou/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[06-Jan-2018 22:40:43 Asia/Kolkata] PHP Strict Standards: Declaration of OpenAIREDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/csvtujou/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 0
[06-Jan-2018 22:40:43 Asia/Kolkata] PHP Strict Standards: Declaration of NavigationMenuItemsForm::fetch() should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/csvtujou/public_html/lib/pkp/controllers/grid/navigationMenus/form/NavigationMenuItemsForm.inc.php on line 19
[06-Jan-2018 22:40:43 Asia/Kolkata] PHP Strict Standards: Declaration of NavigationMenuItemsForm::validate() should be compatible with Form::validate($callHooks = true) in /home/csvtujou/public_html/lib/pkp/controllers/grid/navigationMenus/form/NavigationMenuItemsForm.inc.php on line 19
[06-Jan-2018 22:40:43 Asia/Kolkata] PHP Strict Standards: Declaration of NavigationMenuItemsForm::execute() should be compatible with Form::execute() in /home/csvtujou/public_html/lib/pkp/controllers/grid/navigationMenus/form/NavigationMenuItemsForm.inc.php on line 19
[06-Jan-2018 22:40:43 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:43 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:43 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:43 Asia/Kolkata] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/csvtujou/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[06-Jan-2018 22:40:43 Asia/Kolkata] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/csvtujou/public_html/lib/pkp/classes/form/Form.inc.php on line 369
[06-Jan-2018 22:40:43 Asia/Kolkata] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/csvtujou/public_html/lib/pkp/classes/core/PKPRequest.inc.php on line 592
[06-Jan-2018 22:40:43 Asia/Kolkata] PHP Fatal error: Call to a member function getPath() on null in /home/csvtujou/public_html/cache/t_compile/afdbc343a85db3051c96acebe4dc1fed0244d413^%%56^56A^56A06BB9%%navigationMenuItemsForm.tpl.php on line 62

Hi @JyotiKant,

The relevant line of the log is

PHP Fatal error: Call to a member function getPath() on null in /home/csvtujou/public_html/cache/t_compile/afdbc343a85db3051c96acebe4dc1fed0244d413^%%56^56A^56A06BB9%%navigationMenuItemsForm.tpl.php on line 62

I’ll ask the developer who maintains that code to take a look.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Waiting for Your Response

Hi @JyotiKant.

Could you check if that issue’s [NavigationMenus - Custom Page Error on Site level · Issue #3080 · pkp/pkp-lib · GitHub] fix solves your problem?

The fix is included at the latest OJS version.

Thanks!
@Dimitris_Efstathiou

1 Like

this problem is not rectified yet. plz do the need full

Thanks @JyotiKant.

Were you able to check if the code changes made [pkp-lib] #3080 CurrentContext not available on Site level fix by defstat · Pull Request #3081 · pkp/pkp-lib · GitHub fixes your issue?

Thanks!

Hello,
I’m also experiencing this problem but at random intervals. Sometimes it seems as if the interface was unresponsive and require more time to process requests and slowing down between clicks is helpful but on others - it’s hard to diagnose.

For example, when editing e-mails. Sometimes the window opens as expected with Tiny MCE editor but sometimes it refuses with an error.

Hi, I got the log error like this
[27-Jul-2018 05:36:33 America/Chicago] PHP Parse error: syntax error, unexpected ‘&’ in /home/sawitsawit/public_html/jurnalkelapasawit/lib/pkp/controllers/modals/editorDecision/form/SendReviewsForm.inc.php on line 78
I’ve got it when to trying “Request Revision”, how I can fix it.

Hi @asmecher,
on OJS3.1.1.2 I get this error when I try uploading a revision file. in the error_log I found this line:

PHP Fatal error: Call to a member function getId() on null in /lib/pkp/classes/security/authorization/internal/ReviewRoundRequiredPolicy.inc.php on line 48

I found that these two objects are returned as NULL in this file, so their member functions are not found:

$submission = $this->getAuthorizedContextObject(ASSOC_TYPE_SUBMISSION);

$stageId = $this->getAuthorizedContextObject(ASSOC_TYPE_WORKFLOW_STAGE);

any ideas on why this is happening? this is a new error and was not encountered until a couple days ago. currently I have commented these lines and I hope this does not create any side-effects.

Cheers,

1 Like

Hello I am facing a similar problem.

Trying to add a new reviewer.

Failed Ajax request or invalid JSON returned.

This is the php log:

[10-Jan-2019 13:55:37 Europe/Berlin] PHP Warning:  assert(): assert(false) failed in C:\xampp\htdocs\CEDEX\lib\pkp\classes\i18n\PKPLocale.inc.php on line 169
[10-Jan-2019 13:55:37 Europe/Berlin] PHP Warning:  Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\CEDEX\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 386
[10-Jan-2019 13:55:38 Europe/Berlin] PHP Warning:  Declaration of ReviewerForm::fetch($request) should be compatible with Form::fetch($request, $template = NULL, $display = false) in C:\xampp\htdocs\CEDEX\lib\pkp\controllers\grid\users\reviewer\form\ReviewerForm.inc.php on line 19
[10-Jan-2019 13:55:38 Europe/Berlin] PHP Warning:  Declaration of ReviewerForm::initData($args, $request) should be compatible with Form::initData() in C:\xampp\htdocs\CEDEX\lib\pkp\controllers\grid\users\reviewer\form\ReviewerForm.inc.php on line 19
[10-Jan-2019 13:55:38 Europe/Berlin] PHP Warning:  Declaration of ReviewerForm::execute($args, $request) should be compatible with Form::execute() in C:\xampp\htdocs\CEDEX\lib\pkp\controllers\grid\users\reviewer\form\ReviewerForm.inc.php on line 19
[10-Jan-2019 13:55:38 Europe/Berlin] ojs2: DB Error: FUNCTION cedex_sept.DATE_PART does not exist

On my development server, I have the same error, but with a different database.DATE_PART that doesnt exist.

Any solution?

This issue is from 2016!!

Hi, @asmecher I’m experiencing the same error message when trying to do settings on Google Analytics module…

I’ve attached the last few lines of my error log.

Any help will be truly appreciated.
Best regards

494432,1 Bot
494421 [Thu Aug 29 16:30:12.370724 2019] [php7:warn] [pid 30061] [client 209.13.86.23:59046] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, class ‘OldGreggThemePlugin’ does not have a method ‘htmlDisplay’ in /var/www/evidencia-ojs-stable-3_1_2/lib/pkp/classes/plugins/HookRegistry. inc.php on line 107
494422 [Thu Aug 29 16:30:27.816678 2019] [php7:warn] [pid 29496] [client 209.13.86.23:52020] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, class ‘OldGreggThemePlugin’ does not have a method ‘htmlDisplay’ in /var/www/evidencia-ojs-stable-3_1_2/lib/pkp/classes/plugins/HookRegistry. inc.php on line 107
494423 [Thu Aug 29 16:30:35.692842 2019] [php7:warn] [pid 30061] [client 209.13.86.23:5630] PHP Warning: call_user_func() expects parameter 1 to be a valid c allback, class ‘OldGreggThemePlugin’ does not have a method ‘htmlDisplay’ in /var/www/evidencia-ojs-stable-3_1_2/lib/pkp/classes/plugins/HookRegistry.i nc.php on line 107
494424 [Thu Aug 29 16:31:14.303079 2019] [php7:error] [pid 29383] [client 62.112.10.102:53286] script ‘/var/www/evidencia-ojs-stable-3_1_2/visor-producto.php’ not found or unable to stat
494425 [Thu Aug 29 16:32:33.318749 2019] [php7:error] [pid 29384] [client 46.229.168.163:31580] script '/var/www/evidencia-ojs-stable-3_1_2/visor-producto.php ’ not found or unable to stat
494426 [Thu Aug 29 16:33:33.246240 2019] [php7:error] [pid 30194] [client 46.229.168.147:34546] script '/var/www/evidencia-ojs-stable-3_1_2/visor-producto.php ’ not found or unable to stat
494427 [Thu Aug 29 16:35:32.069456 2019] [php7:warn] [pid 30193] [client 209.13.86.23:36154] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, class ‘OldGreggThemePlugin’ does not have a method ‘htmlDisplay’ in /var/www/evidencia-ojs-stable-3_1_2/lib/pkp/classes/plugins/HookRegistry. inc.php on line 107, referer: http://www.evidencia.org.ar/index.php/Evidencia
494428 [Thu Aug 29 16:35:47.775470 2019] [php7:warn] [pid 30194] [client 209.13.86.23:28669] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, class ‘OldGreggThemePlugin’ does not have a method ‘htmlDisplay’ in /var/www/evidencia-ojs-stable-3_1_2/lib/pkp/classes/plugins/HookRegistry. inc.php on line 107, referer: http://www.evidencia.org.ar/index.php/Evidencia/login
494429 [Thu Aug 29 16:35:52.444205 2019] [php7:warn] [pid 29382] [client 200.89.128.23:28787] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, class ‘OldGreggThemePlugin’ does not have a method ‘htmlDisplay’ in /var/www/evidencia-ojs-stable-3_1_2/lib/pkp/classes/plugins/HookRegistry .inc.php on line 107, referer: http://www.evidencia.org.ar/index.php/Evidencia
494430 [Thu Aug 29 16:36:04.331660 2019] [php7:warn] [pid 30194] [client 200.89.128.23:11693] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, class ‘OldGreggThemePlugin’ does not have a method ‘htmlDisplay’ in /var/www/evidencia-ojs-stable-3_1_2/lib/pkp/classes/plugins/HookRegistry .inc.php on line 107, referer: http://www.evidencia.org.ar/index.php/Evidencia/login
494431 [Thu Aug 29 16:36:51.574680 2019] [php7:error] [pid 30192] [client 66.249.64.103:65113] script ‘/var/www/evidencia-ojs-stable-3_1_2/visor-producto.php’ not found or unable to stat
494432 [Thu Aug 29 16:37:35.776680 2019] [php7:error] [pid 30062] [client 200.89.128.23:28897] PHP Fatal error: Uncaught Exception: FBV: Element ID not set i n /var/www/evidencia-ojs-stable-3_1_2/lib/pkp/classes/form/FormBuilderVocabulary.inc.php:228\nStack trace:\n#0 /var/www/evidencia-ojs-stable-3_1_2/cach e/t_compile/55bbc94aad9a8e9ff975a7d5d01ca8b0f271708f^6cbc5ba39155412247b5f98511541e3902dcbd93_0.plugins-plugins-generic-googleAnalytics-generic-googleA nalytics.settingsForm.tpl.php(53): FormBuilderVocabulary->smartyFBVElement(Array, Object(Smarty_Internal_Template))\n#1 /var/www/evidencia-ojs-stable-3 _1_2/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5d67fb362d3881_59219782(Object(Smarty_Internal_Te mplate))\n#2 /var/www/evidencia-ojs-stable-3_1_2/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Re source_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))\n#3 /var/www/evidencia-ojs-stable-3_1_2/lib/pkp/lib/vendor/smarty/smarty/libs/sy splugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(O in /var/www/evidencia-ojs-stable-3_1_2/lib/pkp/classes/form/FormBuilderV ocabulary.inc.php on line 228, referer: http://www.evidencia.org/index.php/Evidencia/management/settings/website

Hi @GabeLon,

How did you install the Google analytics plugin?

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks for your prompt answer @asmecher.
Well, as far as I remember, I just activated/enabled the corresponding Google Analytics Plugin checkbox at Installed Plugins tab 26

Hi @GabeLon,

Can you confirm what line 25 of plugins/generic/googleAnalytics/templates/settingsForm.tpl looks like?

Thanks,
Alec Smecher
Public Knowledge Project Team