detect.php

Hello
how can i remove this warning?

this is my log

Code:

2014-04-17T09:31:28+00:00 ERR (3): Warning: include(Mobile/Detect.php): failed to open stream: No such file or directory  in mypath/abacoshoppingstore.com/lib/Varien/Autoload.php on line 93
2014-04-17T09:31:28+00:00 ERR (3): Warning: include(Mobile/Detect.php): failed to open stream: No such file or directory  in mypath/abacoshoppingstore.com/lib/Varien/Autoload.php on line 93
2014-04-17T09:31:28+00:00 ERR (3): Warning: include(): Failed opening 'Mobile/Detect.php' for inclusion (include_path='mypath/abacoshoppingstore.com/app/code/local:mypath/abacoshoppingstore.com/app/code/community:mypath/abacoshoppingstore.com/app/code/core:mypath/abacoshoppingstore.com/lib:.:')  in mypath/abacoshoppingstore.com/lib/Varien/Autoload.php on line 93
2014-04-17T09:31:28+00:00 ERR (3): Notice: Undefined index: productgriddeslenght  in mypath/abacoshoppingstore.com/app/design/frontend/base/default/template/joomlart/jmbasetheme/jmbasethemehead.html on line 38

1 answer

Profile photo of Seoki Lee 1510.00 $tone April 18, 2014
Public

To remove this warning, please open the file: ..\app\code\local\Wavethemes\Jmbasetheme\Helper\Mo biledetect.php

At line 11, replace this code:

Code:

if(!class_exists("Mobile_Detect")){

With:

Code:

if(!@class_exists("Mobile_Detect")){
#1

Please login or Register to Submit Answer

Written By

Comments