Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Install problem – Call-time pass-by-reference has been deprecated;


joelteixeira
Member

@joelteixeira

The diff between functions.core.php from the working install (without errors – latest-alpha.zip) and functions.core.php from the trunk directory (in this install I see the error message) .

A diff recursive from the root directory of both installs gave me a lot of output so I focused only in this file. I made a backup of the “problematic” file and overwrote it with the working (from the latest) so I got no more erros.

I made this just to test, I know we should not mix files from different verionos

$ diff ./bb-tag/bb-includes/backpress/functions.core.php ./bb-trunk/bb-includes/backpress/functions.core.php

494a495,507

>

> function backpress_convert_object( &$object, $output ) {

> if ( is_array( $object ) ) {

> foreach ( array_keys( $object ) as $key )

> backpress_convert_object( &$object[$key], $output );

> } else {

> switch ( $output ) {

> case OBJECT : break;

> case ARRAY_A : $object = get_object_vars($object); break;

> case ARRAY_N : $object = array_values(get_object_vars($object)); break;

> }

> }

> }

Skip to toolbar