View Full Version : Warning: Cannot use a scalar value as an array in
wolfe
10-09-2007, 02:37 AM
im getting this error "Warning: Cannot use a scalar value as an array in" when i am using this code to grab info what does it mean and how can i fix it :P thx in advance
Analogpoint
10-09-2007, 02:44 AM
It means you're using a scalar variable or value (a sting, int etc) when it was expecting an array. What line are you getting the error on?
wolfe
10-09-2007, 11:12 AM
i have added it to a plugin with works along site the form hack so when it is submitted it uses a function on a posted varible (which is a web url) and then returns it to be added to the message
--------------- Added at 14:07 ---------------
Warning: Cannot use a scalar value as an array in /includes/functions_newpost.php on line 356 thats the file m8
--------------- Added at 01:32 ---------------
i got past that now but i tried using that function and returning all varibles to be posted in the message box but its not showing anything up why is it not returning them.
i entered http://us.imdb.com/xxxxxx/ and then i used the function
grab_media_info($infolink); so the content i posted in the field in the form then should run through this and return the info.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.