Everything is for free!
Shop is closed.
Due to health issues support is very limited
Shop is closed.
Due to health issues support is very limited
- Forum
- Support and Discussion
- Dynamic Menu Links
- error: Deprecated: The each() function is deprecated
error: Deprecated: The each() function is deprecated
- giles_taylor
- Offline
Less
More
- Posts: 6
3 years 2 months ago #10959
by giles_taylor
error: Deprecated: The each() function is deprecated was created by giles_taylor
Hi, this component sounds great really opening up the core Joomla! login system.
But I am receiving the following error message on a box running php 7.2
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in
../administrator/components/com_dynamicmenulinks/helpers/dynamicmenulinks.php on line 346
Has anyone experienced this?
Thanks in advance.
But I am receiving the following error message on a box running php 7.2
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in
../administrator/components/com_dynamicmenulinks/helpers/dynamicmenulinks.php on line 346
Has anyone experienced this?
Thanks in advance.
Please Log in or Create an account to join the conversation.
- carsten888
- Offline
Less
More
- Posts: 4792
3 years 2 months ago #10960
by carsten888
Replied by carsten888 on topic error: Deprecated: The each() function is deprecated
I just answered your email and released the fix in the next version. Please download 1.1.2.
Please Log in or Create an account to join the conversation.
- giles_taylor
- Offline
Less
More
- Posts: 6
3 years 2 months ago #10962
by giles_taylor
Replied by giles_taylor on topic error: Deprecated: The each() function is deprecated
Thanks very much, is there any documentation on the component or quick video?
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- carsten888
- Offline
Less
More
- Posts: 4792
3 years 2 months ago #10963
by carsten888
Replied by carsten888 on topic error: Deprecated: The each() function is deprecated
unfortunately not. Its all quite selfexplanatory.
Please Log in or Create an account to join the conversation.
- giles_taylor
- Offline
Less
More
- Posts: 6
3 years 2 months ago #10964
by giles_taylor
Replied by giles_taylor on topic error: Deprecated: The each() function is deprecated
Thanks for the reply I still get the deprecated message with this code:
if($user_id){
$group = $usergroups[0];
if (in_array('10', $usergroups)){
$message = 'Thanks for logging in client name';
$message_type = 'info';
$redirect_menuitem_id = 152;
}
if (in_array('11', $usergroups)){
$message = 'Thanks for logging in client name';
$message_type = 'info';
$redirect_menuitem_id = 140;
}
}
Any help would be most welcome
if($user_id){
$group = $usergroups[0];
if (in_array('10', $usergroups)){
$message = 'Thanks for logging in client name';
$message_type = 'info';
$redirect_menuitem_id = 152;
}
if (in_array('11', $usergroups)){
$message = 'Thanks for logging in client name';
$message_type = 'info';
$redirect_menuitem_id = 140;
}
}
Any help would be most welcome
Please Log in or Create an account to join the conversation.
- giles_taylor
- Offline
Less
More
- Posts: 6
3 years 2 months ago #10965
by giles_taylor
Replied by giles_taylor on topic error: Deprecated: The each() function is deprecated
I still get the deprecated message with:
if($user_id){
//logged in
$group = $usergroups[0];
if($group==10){
//group 10
$redirect_menuitem_id = 140;
}
}
administrator/components/com_dynamicmenulinks/helpers/dynamicmenulinks.php on line 316
if($user_id){
//logged in
$group = $usergroups[0];
if($group==10){
//group 10
$redirect_menuitem_id = 140;
}
}
administrator/components/com_dynamicmenulinks/helpers/dynamicmenulinks.php on line 316
Please Log in or Create an account to join the conversation.
- Forum
- Support and Discussion
- Dynamic Menu Links
- error: Deprecated: The each() function is deprecated
Time to create page: 0.175 seconds