Closed (fixed)
Project:
NodeStream
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 May 2011 at 19:37 UTC
Updated:
4 Jan 2014 at 00:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Daidy commentedI have exactly the same problem, with same error.
Comment #2
sgwood commentedyeah, i get the same error:
warning: Parameter 2 to ns_promo_crossclone_node_alter() expected to be a reference, value given in /srv/www/xxxxxx.com/nodestream/includes/common.inc on line 2892.
Comment #3
kristoferaberg commentedI get the same error as well. The whole idea with the Promo feature goes away if this doesn't work. That feature, and Nodestream, seems like great products, so I hope this will be looked into.
Comment #4
avguy commentedI'm also having the issue above. Has anyone figured it out?
Comment #5
meleniumshane90 commentedI am also having the same issue, and now I can no longer post an article (500 error). I thought perhaps the theme I added after it caused the article posting issue, but nope... I can create blogs and everything else, but not an article.
If anyone gets an update or has the same issue, please update everyone on here. I emailed the developers, so we'll see if they respond quickly.
Comment #6
cach commentedThis might be an issue related to PHP version. What version of PHP are you running?
Comment #7
meleniumshane90 commentedPHP Version 5.3.2
I seriously doubt its a PHP issue, because everything works with the exception of creating an article or editing the single article I made. I can create blogs and everything else Nodestream has setup stock. Its not a permission issue, either, I looked into that.
Comment #8
meleniumshane90 commentedI was just informed by someone at Nodestream that this may actually be a PHP issue, as Nodestream is currently designed to work with PHP 5.2, not 5.3. I will see if it is possible to downgrade my PHP version to 5.2 and report back if that solves it.
Comment #9
iRex commentedsubscribing
Comment #10
fabsor commentedThis is indeed a PHP 5.3 issue. We have been working really hard on getting the drupal 7 version out the door, that is why we haven't been able to work on this issues. I'm tagging this issue properly so that we can get to it.
Comment #11
kreynen commentedI spent more time than I expected tracking the error down. Turns out this issue existed with several modules and the issue is actually with the crossclone module. Some of the discussions and different fixes:
http://drupal.org/node/925580#comment-4777844
http://drupal.org/node/705512#comment-2586014
http://drupal.org/node/930992#comment-4066840
Those fixes deal with altering the $form_state before calling drupal_alter which is not exactly what the crossclone module is doing. I tried updating crossclone, but didn't have any luck. Maybe someone more familiar with how the values are being passed can figure that out.
This patch to common.inc is ugly, but solves the problem...
http://drupal.org/node/710892#comment-3884210
Comment #12
fabsor commentedWe actually don't need to get these parameters by reference. This issue should be fixed here:
http://drupalcode.org/project/ns_core.git/commit/b149385