1
JesusRomero
Function eregi() is deprecated - SOLVED

Hi

I saw an error in my website when activating mode debug:

Desconocido: Function eregi() is deprecated en el archivo /modules/multiMenu/blocks/block.php y línea 22
Desconocido
: Function eregi() is deprecated en el archivo /modules/multiMenu/blocks/block.php y línea 23


Solved:

Go and open the file: block.php

Line 22 - 23
(eregi("Google"getenv("HTTP_USER_AGENT"))) || 
(
eregi("Slurp"getenv("HTTP_USER_AGENT"))) ||


and change values: eregi for preg_match

be so
(preg_match("/Google/"getenv("HTTP_USER_AGENT"))) || 
(
preg_match("/Slurp/"getenv("HTTP_USER_AGENT"))) ||


I hope the help

Jesus Romero - Chino

Login

Who's Online

365 user(s) are online (256 user(s) are browsing Support Forums)


Members: 0


Guests: 365


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits