Errors from helper.php in server log
- JamesMiller
- Offline Topic Author
- New Member
- Posts: 7
- Thanks: 0
Hi! I've encountered a problem in our servers log that says:
PHP Warning: in_array() expects parameter 2 to be array, null given in modules/mod_accordeonck/helper.php on line 170
The site produces this error hundreds of time which makes our log files enormous. Now, we can not just kill this module, a complete sites lays on it, so I need a solution for this if possible.
The lines / line nr 170 mentioned:
The $path :
Almost forgot to mention. According to the error log, this started to occur after the core update Joomla 3.5 -> 3.6.2
Thank you in advance!
PHP Warning: in_array() expects parameter 2 to be array, null given in modules/mod_accordeonck/helper.php on line 170
The site produces this error hundreds of time which makes our log files enormous. Now, we can not just kill this module, a complete sites lays on it, so I need a solution for this if possible.
The lines / line nr 170 mentioned:
Code:
168: if ( $item->type == 'alias' &&
169: in_array($item->params->get('aliasoptions'),$path)
170: || in_array($item->id, $path)) {
171: $item->classe .= ' active';
172: $item->isactive = true; }
The $path :
Code:
$path = isset($active) ? $active->tree : $base->tree;;
Almost forgot to mention. According to the error log, this started to occur after the core update Joomla 3.5 -> 3.6.2
Thank you in advance!
Last Edit:7 years 6 months ago
by JamesMiller
Last edit: 7 years 6 months ago by JamesMiller.
Please Log in or Create an account to join the conversation.
Hi
No problem, we will find a solution
Please tell me which version of the menu accordeon you are using
CEd
No problem, we will find a solution
Please tell me which version of the menu accordeon you are using
CEd
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
- JamesMiller
- Offline Topic Author
- New Member
- Posts: 7
- Thanks: 0
Replied by JamesMiller on topic Errors from helper.php in server log
Posted 7 years 6 months ago #38116
Hello ced1870!
Sure thing! Our Joomla says it runs the version 2.0.19, the date is October 2011, which is the same version number I found on this site except the date on the second is February 2016. Does it has some updates although the version number stayed the same?
Sure thing! Our Joomla says it runs the version 2.0.19, the date is October 2011, which is the same version number I found on this site except the date on the second is February 2016. Does it has some updates although the version number stayed the same?
by JamesMiller
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- JamesMiller
- Offline Topic Author
- New Member
- Posts: 7
- Thanks: 0
Replied by JamesMiller on topic Errors from helper.php in server log
Posted 7 years 6 months ago #38126
Hello! Thanks, we will definitely try it. However I only found this version on the official website: mod_accordeonck_2.0.19_j30.zip. No 2.0.20 one : (
by JamesMiller
Please Log in or Create an account to join the conversation.
please try this one attached and tell me if it fixes your problem
dl.dropboxusercontent.com/u/8539690/mod_...eonck_2.0.21_j30.zip
dl.dropboxusercontent.com/u/8539690/mod_...eonck_2.0.21_j30.zip
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Time to create page: 0.838 seconds