MyBB Community Forums

Full Version: errors after exporting mybb
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
so I was working on my local server on my computer, that's where I originally installed mybb, once i finished my website and everything i copied the whole thing to the FTP and the database, opened inc/settings.php and inc/config.php and edited the configs to fit the new path for mybb but now i'm getting this error

The following warnings occurred:
Warning [2] Invalid argument supplied for foreach() - Line: 561 - File: global.php PHP 5.2.17 (Linux)
File Line Function
/global.php 561 errorHandler->error
/index.php 18 require_once

I don't know why it's there, can anyone help me ?
Can we have a URL to your site? The code on that line is:

	$languages = $lang->get_languages();
	foreach($languages as $key => $language)
	{

The error above suggests there are no languages installed...