The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Warning: Cannot use a scalar value as an array in
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
|
#2
|
||||
|
||||
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?
|
#3
|
|||
|
|||
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. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|