BirdOPrey5
10-19-2010, 01:46 PM
I'm getting this error:
Fatal error: Cannot pass parameter 1 by reference in /***file path removed***/includes/class_postbit.php(294) : eval()'d code on line 33
Line 33 in class_postbit.php is blank. the few lines around it are:
* Bitfield value which determines whether a user's reputation power should be displayed with their post.
*/
define('POST_SHOW_REPPOWER', 2);
/**
* Bitfield value which determined whether a user sees another user' infractions
*/
define('POST_SHOW_INFRACTION', 4);
Reputation and infractions have nothing to do with what I'm working on...
I added a plugin to postbit_display_compelete to try out some code that isn't working but not sure why... the offending lines are:
include('functions_forumlist.php');
$sico = fetch_forum_lightbulb(2, array(), 2);
I'm guessing the problem is one of the parameters of the function but I don't see why this is a problem... in the code in forumlist.php the function takes an int, an array, and an int... the ints are forumid's... The purpose of this function is to get the info on whether there are new posts in that forum.
Fatal error: Cannot pass parameter 1 by reference in /***file path removed***/includes/class_postbit.php(294) : eval()'d code on line 33
Line 33 in class_postbit.php is blank. the few lines around it are:
* Bitfield value which determines whether a user's reputation power should be displayed with their post.
*/
define('POST_SHOW_REPPOWER', 2);
/**
* Bitfield value which determined whether a user sees another user' infractions
*/
define('POST_SHOW_INFRACTION', 4);
Reputation and infractions have nothing to do with what I'm working on...
I added a plugin to postbit_display_compelete to try out some code that isn't working but not sure why... the offending lines are:
include('functions_forumlist.php');
$sico = fetch_forum_lightbulb(2, array(), 2);
I'm guessing the problem is one of the parameters of the function but I don't see why this is a problem... in the code in forumlist.php the function takes an int, an array, and an int... the ints are forumid's... The purpose of this function is to get the info on whether there are new posts in that forum.