r4nt Napisano Kwiecień 25 Zgłoś Share Napisano Kwiecień 25 Witam, Mam problem z skryptem, wcześniej przy starszej wersji PHP działało, teraz mam 7.3 i wywala błąd: PHP Recoverable fatal error: Object of class mysqli could not be converted to string in /home/domena/domains/domena.com/public_html/classes/GetUrl.php on line 149, referer: https://www.superdomena.com/pobierz.html W tym miejscu mam skrypt: $result = mysqli_query(sprintf($con,"SELECT id FROM accounts WHERE (bandwidth_used + %f) <= %f AND host = '%s' ORDER BY (%f - (bandwidth + %f)) ASC LIMIT 1", $this->filesize, $this->daily_limit, $this->host, $this->daily_limit, $this->filesize)); Ktoś mi powie w czym jest problem ? Cytuj Link do komentarza Udostępnij na innych stronach More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.