[General] Browsing error - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Community Archive (https://community.mybb.com/forum-106.html) +--- Forum: Archived Forums (https://community.mybb.com/forum-143.html) +---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html) +----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html) +------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html) +------ Thread: [General] Browsing error (/thread-146054.html) |
Browsing error - smiley69 - 2013-09-29 I get an error whenever I browse for plugins or themes: I get this error when browsing themes: Warning [2] array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object - Line: 181 - File: admin/modules/style/themes.php PHP 5.2.17 (Linux) Any help? Line 181 on themes.php is: if(!array_key_exists("results", $tree)) The one on plugins is similar. Photo: http://prntscr.com/1u6n1w RE: Browsing error - .m. - 2013-09-29 are you using latest available version of MyBB (1.6.10) ? RE: Browsing error - Matt - 2013-09-29 ./admin/modules/style/themes.php, line 165:
After that, add:
Then try it again, what does it display? Just need to see what it's actually returning. RE: Browsing error - smiley69 - 2013-09-29 I am using the latest version .m. It says: string(7044) " Please enable cookies. Then it has a captcha then further down it says: http://prntscr.com/1u6yev (2013-09-29, 01:39 PM)Matt. Wrote: ./admin/modules/style/themes.php, line 165: Any help? Still looking for some help. |