having some issues with webcp3
https://tehsausage.com/paste/webcp-allguilds-php can you tell me whats wrong with this number_format() expects parameter 1 to be double, array given (allguilds.php:91) <----- i keep getting that
13 years, 27 weeks ago
|
Re: having some issues with webcp3
PHP error you posted explained it cleaner than anyone could do that.
l2variable types
13 years, 27 weeks ago
|
Re: having some issues with webcp3
ive gone threw the whole thing and i cant seem to figure it out
edit: $guild['members'] = number_format($guild['members']); <--- what is wrong witht his?
13 years, 27 weeks ago
|
Re: having some issues with webcp3
Here's a pastebin to a working file. Nothing is wrong with that line of code, I'm pretty sure it has something to do with the previous foreach loop. See if the file I'm linking you works - it works fine on my web-cp. ---
class EOSERV {
Programmer | Oldbie
Open source EO Client: https://github.com/ethanmoffat/EndlessClient
};
13 years, 27 weeks ago
| | | |