Errors from helper.php in server log
- JamesMiller
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
8 years 2 months ago - 8 years 2 months ago #38110
by JamesMiller
Errors from helper.php in server log was created by JamesMiller
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: 8 years 2 months ago by JamesMiller.
Please Log in or Create an account to join the conversation.
8 years 2 months ago #38112
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Errors from helper.php in server log
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
Please Log in or Create an account to join the conversation.
- JamesMiller
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
8 years 2 months ago #38116
by JamesMiller
Replied by JamesMiller on topic Errors from helper.php in server log
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?
Please Log in or Create an account to join the conversation.
8 years 2 months ago #38118
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Errors from helper.php in server log
the latest is 2.0.20, you can try to update and tell me
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- JamesMiller
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
8 years 2 months ago #38126
by JamesMiller
Replied by JamesMiller on topic Errors from helper.php in server log
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 : (
Please Log in or Create an account to join the conversation.
8 years 2 months ago #38137
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Errors from helper.php in server log
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
Please Log in or Create an account to join the conversation.
Time to create page: 0.226 seconds