I'm seeing the same PHP warnings in my log but I don't think there are any front end error messages:
PHP Warning: Invalid argument supplied for foreach() in /my_home/public_html/wp-content/plugins/wpforo/wpforo.php on line 141
This is the code and the foreach() it mentions:
public function phrases(){
if($this->general_options){
$phrases = $this->phrase->get_phrases( array( 'langid' => $this->general_options['lang'] ) );
foreach($phrases as $phrase){
$this->phrases[addslashes(strtolower($phrase['phrase_key']))] = $phrase['phrase_value'];
}
}
}
It's not urgent as there are no external symptoms, but what can I do to resolve the error? Thanks!
I think your the _wpforo_phrases table is empty. Please check it in database. If so, please navigate to Dashboard > Forums > Settings and upload this XML file (unzip before uploading).
It's not empty. I've actually been changing phrases in the admin tool successfully, and that's working very well. And thanks for providing that option, it's very easy to use.
Ok, check this and fix in next update.