Warning: trim() expects parameter 1 to be string, array given in [path]/private.php(1271) : eval()'d code on line 19
----------
Got a reply from Vbulletin.com
A third party modification causes this problem when trying to use the 'private_insertpm_process' hook. Turn off the specific modifications and it will work again, this is not a vBulletin error.
-----------
can you address this error so it can work on VB4.2 pl 2 pl3
this is such a great mod
This error appear when user try to send PM to Staff -
while the Pm went over - The error appear when user try to PM .
Tested on this .
Quote:
Originally Posted by psyZa2
@Eagle Eyes:
Same for me, PM restrictions didn't work in 4.1.10. Here's my fix:
Edit the plugin "VSa - APBOUPC - 35 (PI)". In the last few lines, replace $recipient with $recipient['username']
Code:
if (trim($recipient['username']) == '')
{
continue;
}
if (!in_array(trim($recipient['username']), $apboupc_allowedrec))
{...
|
Error seem to go away but had not tested other problem yet .
Running 4.2 PL2