Ok, just to let you know.
I tried a latest stable version (0.9.0.2) install and got no errors… only occurs with the alpha release.
Help plz.
if you want to modify the files to fix the problem, remove the & symbol from within the line it’s complaining about:
/bb-includes/backpress/functions.core.php on line 499
Thanks your attention Balgo, but I didn’t do that cause I want to developers help me to understand the problem. I don’t wanna just edit the file and maybe be messing something worse.
Should this edit be really necessary, is inoffensive? Is there something wrong with the code? With the server?
I know is not a stable version, problems is expected… I just want to understand this one.
If you have an issue with the alpha release, please file a ticket at trac.
https://trac.bbpress.org/newticket
You will need to log in before you can file a ticket. Be sure to choose the correct version when submitting the ticket.
Guys,
Something really strange in this problem, only happens when I do a SVN install.
Errors to:
svn co http://svn.automattic.com/bbpress/tags/1.0-alpha-1/ .
svn co http://svn.automattic.com/bbpress/trunk/ .
But if I download (wget) latest.zip or latest-alpha.zip extract and install it will work without the mentioned error. omg –confused–
Joel, did you do a diff on the two different directories to see what might have changed?
this is a minor issue the developers should fix, but if you’d like to learn more, google for that php error (“Call-time pass-by-reference has been deprecated”).. it’s a php-specific problem, and as such, there’s lots of dialogue about it floating around..
This is new to the trunk… it is introduce by the function…
function backpress_convert_object( &$object, $output ) {}
Which was new since the alpha drop.
(sorry for the duplicate ticket, I just deleted mine)
@chrishajer: I didn’t the diff cause I’m starting over with the forum – no data to care. So after the error comes I just removed all files and elimI searched and inated all tables from database. I should make some tests and take the diff.
@balgo: Yes, is a php error, but is called from a script in functions.core.php. There’s no results relevant to actual versions of bbpress neither functions.core file.
@zappoman: What let me really confused, please correct me if I’m wrong, is that I got error installing from “svn co http://svn.automattic.com/bbpress/tags/1.0-alpha-1/” but had no errors with a installations from “bbPress 1.0 Alpha (latest-alpha.zip)” in the download page. Since is tagged, is the same package right?
Thanks all your attention guys.
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;
> }
> }
> }