The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Content dissapears when plugins installed - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Content dissapears when plugins installed (/showthread.php?tid=704) |
Content dissapears when plugins installed - james_so - 2010-05-13 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... Content dissapears when plugins installed - Zegnåt - 2010-05-13 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)); Content dissapears when plugins installed - james_so - 2010-05-13 Version 2.01, downloaded only a few days ago, I edited the line and it seems to be working OK now, thanks |