Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [General] Browsing error
#1
Not Solved
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
#2
Not Solved
are you using latest available version of MyBB (1.6.10) ?
#3
Not Solved
./admin/modules/style/themes.php, line 165:

$contents = fetch_remote_file("http://mods.mybb.com/xmlbrowse.php?type=theme&version={$major_version_code}{$keywords}{$url_page}", $post_data);

After that, add:

var_dump($contents);

Then try it again, what does it display? Just need to see what it's actually returning.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#4
Not Solved
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:

$contents = fetch_remote_file("http://mods.mybb.com/xmlbrowse.php?type=theme&version={$major_version_code}{$keywords}{$url_page}", $post_data);

After that, add:

var_dump($contents);

Then try it again, what does it display? Just need to see what it's actually returning.

Any help?

Still looking for some help.


Forum Jump:


Users browsing this thread: 2 Guest(s)