Vbulletin Fix – Deprecated Assigning the return value in PHP 5.3

I recently moved my vbulletin forum to new site to PHP 5.3 and site was showing this errors.

Deprecated: Assigning the return value of new by reference is deprecated
Deprecated: Function set_magic_quotes_runtime() is deprecated

Dont worry! Here is an easy way to fix this error.

To fix:

Open global.php and add this line

error_reporting(E_ALL & ~E_NOTICE & ~8192);

Refresh your browser and your site will load normal.

Note: This is not a 100% fix solution. To fully fix deprecated warnings, you have to open the php file responsible for warnings, go to the error line no, remove the ‘&’ symbol. This will work 100%.

Similar Posts:

Prabhu Balakrishnan

I am cool and friendly internet entreprenur blogging since 2005. My interests are wordpress, PHP, linux servers, SEO and travel. Besides computers, i am crazy for video games, travel and a cup of hot coffee! I am born in Coimbatore, India but i currently live in Budapest, Hungary. Feel free to contact me folks!

Leave a Reply

Your email address will not be published. Required fields are marked *


eight − = 0

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please wrap all source codes with [code][/code] tags. Powered by