Error display and solving them (again)

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
User avatar
AccentAvondschool
Forum Members
Forum Members
Posts: 28
Joined: Sun May 08, 2016 5:36 am
Location: Rotterdam NL

Error display and solving them (again)

Post 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
Regards,

Accent Avondonderwijs
René
User avatar
AccentAvondschool
Forum Members
Forum Members
Posts: 28
Joined: Sun May 08, 2016 5:36 am
Location: Rotterdam NL

Re: Error display and solving them (again)

Post 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.
Regards,

Accent Avondonderwijs
René
Locked

Return to “Modules/Add-Ons”