Hey all,
I’ve been running a simple mobile application fine for a while now and a few days a go, it has stopped working. I haven’t changed a single piece of code both front or back end so this is random.
I’ve checked the error logs and it seems something involving Slim is causing the issue.
It’s a huge log as i’ve only just noticed that no new users have signed up so please can someone help ASAP.
I used AJAX calls to the back-end php to contact slim and make various functions work but nothing is working.
Here is a snippet of the error:
[28-Feb-2019 23:30:35 UTC] Slim Application Error:
Type: Error
Message: Call to undefined function mysql_num_rows()
File: /home/u643930530/domains/tattmatch.tech/src/routes/customers.php
Line: 93
Trace: #0 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#1 /home/u643930530/domains/tattmatch.tech/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#2 /home/u643930530/domains/tattmatch.tech/vendor/slim/slim/Slim/Route.php(335): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#3 /home/u643930530/domains/tattmatch.tech/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#4 /home/u643930530/domains/tattmatch.tech/vendor/slim/slim/Slim/Route.php(313): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#5 /home/u643930530/domains/tattmatch.tech/vendor/slim/slim/Slim/App.php(495): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
#6 /home/u643930530/domains/tattmatch.tech/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#7 /home/u643930530/domains/tattmatch.tech/vendor/slim/slim/Slim/App.php(388): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#8 /home/u643930530/domains/tattmatch.tech/vendor/slim/slim/Slim/App.php(296): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#9 /home/u643930530/domains/tattmatch.tech/public_html/index.php(21): Slim\App->run()
#10 {main}
View in rendered output by enabling the “displayErrorDetails” setting.
Any help will be greatly appreciated!
Thanks
James