change it from: if (strpos(strtolower($_SERVER['ALL_HTTP']),'OperaMini')>0) to if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'OperaMini')>0)
juste renove operamini in detect :v
Create a file called "404.html" and put in into the 'web' directory. This solves the error.
I tried this one but seems to be not working. After I change it, error appears like this.
Warning: include(web/404.html): failed to open stream: No such file or directory in C:\xampp\htdocs\packs_sample\agro_farm-pack\index.php on line 39
Warning: include(): Failed opening 'web/404.html' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\packs_sample\agro_farm-pack\index.php on line 39
The said error is all about the error page which is not existing on the local folder, what did you do about this? Thanks.