PHP ^8.0 Mobile_Detect incompatibility

Hello,
Do you have an update where the module supports MobileDetect latest library: v:3.74?
https://packagist.org/packages/mobiledetect/mobiledetectlib
 
Thanks & Regards
 

3 answers

Profile photo of Ziven Staff 100280.00 $tone July 6, 2023
Public

Hi there,
 

Do you have an update where the module supports MobileDetect latest library: v:3.74?

I’m not sure which specific error you encountered. However, UB MegaMenu is compatible with PHP 8.* and the latest MobileDetect library, version 3.7.4.
 
It’s possible that you are not using the latest version of UB MegaMenu. To ensure the best compatibility, you can download the latest version (v1.2.9) from the following link:
https://www.dropbox.com/s/l3fhlldydx3wxbw/UB Mega Menu.zip?dl=0
 

Best Regards,
Ziven.

#1
Profile photo of robertwalters 30.00 $tone July 6, 2023
Public

Thank you Ziven, 
The version that we can download is 1.2.8 and is not compatible:
app/code/Ubertheme/Base/Helper/Data.php

$detect = new \Mobile_Detect();

Should read:

$detect = new \Detection\MobileDetect;

We only purchased the module a few days ago…

#2
Profile photo of Ziven Staff 100280.00 $tone July 7, 2023
Public

Hi there,

The version that we can download is 1.2.8 and is not compatible:

You can download the latest version 1.2.9 from the link in my previous reply, the code changed as you mentioned.
 
 

Thanks

#3

Please login or Register to Submit Answer

Written By

Comments