Fredrik.r Posted August 20, 2006 Share Posted August 20, 2006 (edited) Hi! I have an issue I can't solve. Since the hosting company updated PHP to version 5 I get an error. I do not think it has to do with the osCommerce 051113 update. Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/httpd/ws2890/blush.se/shop2/admin/page_manager.php on line 591 Warning: reset() [function.reset]: Passed variable is not an array or object in /home/httpd/ws2890/blush.se/shop2/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/httpd/ws2890/blush.se/shop2/admin/includes/classes/object_info.php on line 18 Above is showing when clicking Page Manager in admin. Would really appreciate some help with this if possible! Edited August 20, 2006 by Fredrik.r Quote Link to comment Share on other sites More sharing options...
Fredrik.r Posted August 21, 2006 Author Share Posted August 21, 2006 Anyone please? Should be someone running this contribution together with PHP 5. Quote Link to comment Share on other sites More sharing options...
Fredrik.r Posted August 22, 2006 Author Share Posted August 22, 2006 Should be fixed now. For other having the same issue with page_manager.php change (around row 520, mine i modified) this; Replace $bInfo_array = array_merge($pages, $info); with $bInfo_array = array_merge($pages, (array)$info); Quote Link to comment Share on other sites More sharing options...
TENCENTS Posted August 23, 2006 Share Posted August 23, 2006 Should be fixed now. For other having the same issue with page_manager.php change (around row 520, mine i modified) this; Replace $bInfo_array = array_merge($pages, $info); with $bInfo_array = array_merge($pages, (array)$info); Cool!! - this fix sorted out an issue I had with Article Manager 1.3(etc). Tanx!! Quote Never underestimate the power of stupid people, especially in groups. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.