PDA

View Full Version : Error after updated to 4.2.2


Walter Ronny
12-01-2014, 10:20 AM
Hi! im having problems with forum, after to upgrade to 4.2.2 when i see any thread, appear a error code in the top ..

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 35

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 35

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 35

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 35

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 35

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 35

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 35

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 35

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 35

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 35

Anyone know how to solve this problem? it only show when i read a thread, not general forum and general section.. any input will be appreciate a lot!

ozzy47
12-01-2014, 10:24 AM
That is most likely from a mod you have installed.

Ok lets do this, disable plugins via the includes/config.php file.

To do that open your includes/config.php file and below <?php add the following.

define('DISABLE_HOOKS', true);

So it looks like this:
<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 4.2.2

Use a editor like notepad++ (http://notepad-plus-plus.org/download/v6.6.8.html) to edit any files, don't use Notepad or Wordpad.

If that fixes the issue enable plugins again by adding // before the line you added, then navigate to ACP --> Plugins & Products --> Manage Products and disable one mod at a time until you find the one causing the issue.

Once you find the culprit, post in that mods thread what the issue is, and maybe someone in that thread can help. :)

Walter Ronny
12-01-2014, 10:48 AM
Hi, thank you so much!!! problem solved. was a plugin!.

ozzy47
12-01-2014, 11:03 AM
Not a problem, glad to help. :)