Page 1 of 1

Error display and solving them (again)

Posted: Tue Jun 18, 2019 8:54 am
by AccentAvondschool
Hi,

I still have hundreds of lines in my error log with the following ...

Code: Select all

[Tue Jun 18 10:11:59.548837 2019] [fcgid:warn] [pid 10653:tid 139778939311872] [client 165.125.178.19:63785] mod_fcgid: stderr: 96a577259cbc4bb8af09f568c21c0ac_0.module_file_tpl.DesignManager;ajax_get_stylesheets.tpl.php on line 128, referer: https://www1.accentavondschool.nl/
[Tue Jun 18 10:11:59.548863 2019] [fcgid:warn] [pid 10653:tid 139778939311872] [client 165.125.178.19:63785] mod_fcgid: stderr: PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/accentavondschool.nl/domains/www1.accentavondschool.nl/tmp/templates_c/DesignManager^db588608196a577259cbc4bb8af09f568c21c0ac_0.module_file_tpl.DesignManager;ajax_get_stylesheets.tpl.php on line 139, referer: https://www1.accentavondschool.nl/
[Tue Jun 18 10:11:59.548872 2019] [fcgid:warn] [pid 10653:tid 139778939311872] [client 165.125.178.19:63785] mod_fcgid: stderr: PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/accentavondschool.nl/domains/www1.accentavondschool.nl/tmp/templates_c/DesignManager^db588608196a577259cbc4bb8af09f568c21c0ac_0.module_file_tpl.DesignManager;ajax_get_stylesheets.tpl.php on line 128, referer: https://www1.accentavondschool.nl/
[Tue Jun 18 10:11:59.548878 2019] [fcgid:warn] [pid 10653:tid 139778939311872] [client 165.125.178.19:63785] mod_fcgid: stderr: PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/accentavondschool.nl/domains/www1.accentavondschool.nl/tmp/templates_c/DesignManager^db588608196a577259cbc4bb8af09f568c21c0ac_0.module_file_tpl.DesignManager;ajax_get_stylesheets.tpl.php on line 139, referer: https://www1.accentavondschool.nl/
But (to check the exact position of the error) I cannot find/see the file ...

Code: Select all

/tmp/templates_c/DesignManager^db588608196a577259cbc4bb8af09f568c21c0ac_0.module_file_tpl.DesignManager;ajax_get_stylesheets.tpl.php
... in the /tmp/templates_c/ folder

Re: Error display and solving them (again)

Posted: Wed Jun 19, 2019 5:01 am
by AccentAvondschool
The next day the file suddenly appeared but the error messages didn't tell me anything ...

Line 128:

Code: Select all

if (count($_smarty_tpl->tpl_vars['t1']->value) == 1) {
Line: 139

Code: Select all

} elseif (count($_smarty_tpl->tpl_vars['t1']->value) == 0) {?><span title="<?php echo $_smarty_tpl->tpl_vars['mod']->value->Lang('help_stylesheet_no_designs');?>
I am currently working on the CGCalendar Fullcalender View so I probably do something wrong there and/or there is still old code somewhere.