Title: [Plugin: Microkid&#039;s Related Posts] error with php5.3
Last modified: August 19, 2016

---

# [Plugin: Microkid's Related Posts] error with php5.3

 *  [gilles66](https://wordpress.org/support/users/gilles66/)
 * (@gilles66)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-microkids-related-posts-error-with-php53/)
 * These are the error messages I have during ajax call to search related post
    
   I have php 5.3 ==========================================================
 * Deprecated: Assigning the return value of new by reference is deprecated in C:\
   __WORK\L_agence_originale\annedhercourt.com\www\wp-settings.php on line 204
 * Deprecated: Assigning the return value of new by reference is deprecated in C:\
   __WORK\L_agence_originale\annedhercourt.com\www\wp-settings.php on line 219
 * Deprecated: Assigning the return value of new by reference is deprecated in C:\
   __WORK\L_agence_originale\annedhercourt.com\www\wp-settings.php on line 226
 * Deprecated: Assigning the return value of new by reference is deprecated in C:\
   __WORK\L_agence_originale\annedhercourt.com\www\wp-settings.php on line 233
 * Deprecated: Assigning the return value of new by reference is deprecated in C:\
   __WORK\L_agence_originale\annedhercourt.com\www\wp-settings.php on line 258
 * Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\__WORK\L_agence_originale\
   annedhercourt.com\www\wp-settings.php on line 27

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [microkid](https://wordpress.org/support/users/microkid/)
 * (@microkid)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-microkids-related-posts-error-with-php53/#post-1776742)
 * Is WP_DEBUG set to true in your wp-config.php?
 *  Thread Starter [gilles66](https://wordpress.org/support/users/gilles66/)
 * (@gilles66)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-microkids-related-posts-error-with-php53/#post-1776743)
 * No, WP_DEBUG is set to false.
 * To avoid the displaying of errors (deprecated) in the ajax return, I finally 
   replaced this line
    **_require(‘../../../wp-config.php’);_**
 * by this block
    _**ob\_start(); require(‘../../../wp-config.php’); ob\_clean();
 * in the file mrp-search.php
 * And I remarked that there are a lot of deprecated errors in wp with php5.3.
 * Gilles
 *  [artflutter](https://wordpress.org/support/users/artflutter/)
 * (@artflutter)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-microkids-related-posts-error-with-php53/#post-1776823)
 * The warnings relate to the `&=` assignments in wp-settings.php being deprecated
   in php 5.3 so it’s not an error in the plugin.
 * I would’ve thought that setting WP_DEBUG to false would suppress the messages
   but for some reason that doesn’t work for me.
 * I just added `error_reporting(0);` to the top of mrp-search.php and that supresses
   the warnings.
 * This is on WordPress 3.0.4, maybe they’ll fix the code in future upgrades?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Microkid's Related Posts] error with php5.3’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/microkids-related-posts_f6f7f5.svg)
 * [Related Posts for WordPress](https://wordpress.org/plugins/microkids-related-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/microkids-related-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/microkids-related-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/microkids-related-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/microkids-related-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/microkids-related-posts/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [artflutter](https://wordpress.org/support/users/artflutter/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-microkids-related-posts-error-with-php53/#post-1776823)
 * Status: not resolved