Title: Error with PHP 5.5
Last modified: August 21, 2016

---

# Error with PHP 5.5

 *  Resolved [Nicola Mustone](https://wordpress.org/support/users/nicolamustone/)
 * (@nicolamustone)
 * Automattic Happiness Engineer
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-with-php-55/)
 * HI, there’s a PHP error with PHP 5.5, on line 181.
 * The error is because you assign the return of get_children() by reference.
    I
   fixed using this code temporarly
 *     ```
       $tmp_attachments = get_children( array(
       	'post_type' => 'attachment',
       	'post_mime_type' => 'image',
       	'numberposts' => -1,
       	'post_status' => null,
       	'post_parent' => null, // any parent
       	'output' => 'object',
       ) );
   
       $attachments =& $tmp_attachments;
       ```
   
 * [https://wordpress.org/plugins/ajax-thumbnail-rebuild/](https://wordpress.org/plugins/ajax-thumbnail-rebuild/)

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

 *  Plugin Author [junkcoder](https://wordpress.org/support/users/junkcoder/)
 * (@junkcoder)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-with-php-55/#post-4704586)
 * Should be fixed in version 1.10
 *  Plugin Author [junkcoder](https://wordpress.org/support/users/junkcoder/)
 * (@junkcoder)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-with-php-55/#post-4704601)
 * Marking this topic as resolved

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

The topic ‘Error with PHP 5.5’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ajax-thumbnail-rebuild.svg)
 * [AJAX Thumbnail Rebuild](https://wordpress.org/plugins/ajax-thumbnail-rebuild/)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-thumbnail-rebuild/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [junkcoder](https://wordpress.org/support/users/junkcoder/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/error-with-php-55/#post-4704601)
 * Status: resolved