PDA

View Full Version : unserialize() expects parameter 1 to be string, array given error


rickles8099
04-04-2008, 01:17 PM
i get this error:
https://vborg.vbsupport.ru/external/2008/04/64.jpg

on my vBa CMPS main page at the top. does anyone know how i would fix it? in the file on line 240 and 241 i have this:

https://vborg.vbsupport.ru/external/2008/04/65.jpg

im sure it is a simple fix, but i am rather new at this stuff, and thank you in advance for helping.

Dismounted
04-04-2008, 01:25 PM
The datastore "data" is already unserialized when it is fetched. You will need to remove "unserialize(" and then the ")" at the end.

rickles8099
04-04-2008, 01:42 PM
so basically make the lines look like this?

$iconcache = $vbulletin->iconcache;
$attachmentcache = $vbulletin->attachmentcache;

tried it.. it works... once again.. thank you very much. many people appreciate the help that you just offered.

Opserty
04-04-2008, 03:38 PM
You may want to let vBAdvanced know, you may either be using outdated files or they need to update their software. Might help others who get this error.