MyBB Community Forums

Full Version: error after user registration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello i received this error message after a user completes the forum registration:

Quote:The following warnings occurred:
Warning [2] Invalid argument supplied for foreach() - Line: 534 - File: inc/datahandlers/pm.php PHP 5.2.9 (Linux)
File Line Function
/inc/datahandlers/pm.php 534 errorHandler->error
/inc/plugins/pmonreg.php 117 PMDataHandler->insert_pm
[PHP] pmonreg_run
/inc/class_plugins.php 101 call_user_func_array
/member.php 271 pluginSystem->run_hooks

There is no problem with the registration, the user can still get his activation code via email and stuff. However the warning appears at the top of the page after a user finished the registration process.
The error mentions this file

/inc/plugins/pmonreg.php

That's a plugin; disable it.
thanks! problem solved! Smile