Osclass forums

Support forums => General help => 3.8.x => Topic started by: Aficionado on October 02, 2018, 12:55:26 am

Title: PHP Fatal error: Uncaught Error: Call to a member function numRows() on boolean
Post by: Aficionado on October 02, 2018, 12:55:26 am
Guys any idea what this could be ? Is that clearly a problem with Spamprotection plugin or something else ?

Could that be php 7.1.x i switched latetly ?

Thanks

______________________

Quote
[30-Sep-2018 18:13:28 America/Los_Angeles] PHP Fatal error:  Uncaught Error: Call to a member function numRows() on boolean in /home/public_html/oc-includes/osclass/model/Admin.php:63
Stack trace:
#0 /home/public_html/oc-includes/osclass/model/Admin.php(47): Admin->__construct()
#1 /home/public_html/oc-content/plugins/spamprotection/functions/params.php(10): Admin::newInstance()
#2 /home/public_html/oc-content/plugins/spamprotection/functions/index.php(8): require('/home/...')
#3 /home/public_html/oc-content/plugins/spamprotection/index.php(99): require('/home/...')
#4 /home/public_html/oc-includes/osclass/classes/Plugins.php(148): include_once('/home/...')
#5 /home/public_html/oc-includes/osclass/classes/Plugins.php(526): Plugins::loadActive()
#6 /home/public_html/oc-load.php(265): Plugins::init()
#7 /home/public_html/index.php(23): require_once('/home/...')
#8 {main}
  thrown in /home/public_html/oc-includes/osclass/model/Admin.php on line 63
Title: Re: PHP Fatal error: Uncaught Error: Call to a member function numRows() on boolean
Post by: yog16 on April 05, 2019, 02:58:37 pm
Hello Aficionado,
 Did you got any solution for this. as i am getting the very same log error.... i am getting it very frequently in my log_error file... 10-15 different times in a day... and once or twice in a day when it comes repeatedly at a very same time it spikes my cpu usage to 100% for a minute (average cpu usage is 20%)
as i don't want to remove spamprotection plugin as it reduces my 99% ;) work...

Thanx