GetSimple Support Forum

Full Version: Content dissapears when plugins installed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Apache 2.2.15 (Win32) & PHP 5.3.2 on a Win 2k box used for development.

When I try to add some plugins (eg, news, medialution-component-in-site) I get an error

GSDEBUG Wrote:Warning: call_user_func_array() expects parameter 2 to be array, string given in E:\Apache\htdocs\...\admin\inc\plugin_functions.php on line 139


It seems only to be get_page_content(); which is failing, everything else appears OK.

On a linux server they work fine so I'm guessing it's a windows problem causing this, does anyone have any ideas about how to fix it so I can continue to work locally rather than keep having to upload every code change to test...
What version of GetSimple are you using? I thought this problem had already been taken care of. The current development build of GetSimple fixes this by always forcing the second parameter on that line you mention to be an array:
Code:
$data = call_user_func_array($filter['function'], array($data));
Version 2.01, downloaded only a few days ago, I edited the line and it seems to be working OK now, thanks Wink