• Resolved Nico

    (@nicolamustone)


    Automattic Happiness Engineer

    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://www.ads-software.com/plugins/ajax-thumbnail-rebuild/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error with PHP 5.5’ is closed to new replies.