Skip to main content

Hide Deprecated Errors in Php.

To remove the annoying ” Deprecated : Assigning the return value of new by reference is deprecated in … ” errors, ¬†All you have to do is edit your php.ini file and add the line “error_reporting = E_ALL & ~E_DEPRECATED” and save it.

Restart apache and it should be gone.

Note: If you are using Mac OSX you will have to do this via terminal and “sudo vi” the php.ini file.

Transferring your wordpress links from one site to another.

Today I noticed that when you use the WordPress Export and Import tool it doesnt transfer the links. So, In order for you to transfer the links, Find the file called “wp-links-opml.php” and in your browser go to that file for example the URL will be: “”.

You will notice a message saying for example : “Links for YOURSITE …”.

Save this file somewhere. On your new WordPress site go to import and use the blogroll importer. Choose the file you saved or alternatively if the old blog is still live just add the URL to that file. Click import and it should be fine.

Janes Oosthuizen

Author Janes Oosthuizen

Programmer and Tech Junky from Cape Town, South-Africa. I have been programming for more than 15 years in various languages including ( CSS, HTML, javascript, PHP, MySQL, Wordpress and many other ).

More posts by Janes Oosthuizen

Leave a Reply