MyBB Community Forums

Full Version: Error when i check plugin updates.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, when i check if there are plugin updates i got this error:
Your copy of MyBB running on xxxxxxx (http://www.xxxxxxxxxx.xxx) has experienced an error. Details of the error include:
---
Type: 2
File: admin/modules/config/plugins.php (Line no. 79)
Message
array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object

I have installed only google seo mod, thanks Smile
Do you still get this error, MaFeSa?

The problem is with the XML data returning from the MyBB.com servers, so it might have just been a communication error...
Yes, tried now Sad
Hi!
I just want to confirm that I'm getting a similar error when I check for updating the plugins:

Quote:Warning [2] array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object - Line: 79 - File: admin/modules/config/plugins.php PHP 5.2.13 (Linux)
File Line Function
[PHP] errorHandler->error
/admin/modules/config/plugins.php 79 array_key_exists
/admin/index.php 381 require

byez
Also

Warning [2] array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object - Line: 79 - File: admin/modules/config/plugins.php PHP 5.2.13 (Linux)
File 	Line 	Function
[PHP] 	  	errorHandler->error
/admin/modules/config/plugins.php 	79 	array_key_exists
/admin/index.php 	381
Line 60 of ./admin/modules/config/plugins.php:

$url = "http://mods.mybboard.net/version_check.php?";

change to:

$url = "http://mods.mybb.com/version_check.php?";
(2010-07-13, 09:27 PM)MattRogowski Wrote: [ -> ][...]
it seems to work, thanks