Bug get_object_vars() expects parameter 1 to be object, array given

Status
Not open for further replies.

Nirjonadda

Customer
I am getting lot of server error log

Error Info
ErrorException: get_object_vars() expects parameter 1 to be object, array given - library/DBTech/Security/3rdParty/functions_badbehavior.php:80
Generated By: Unknown Account, 15 minutes ago
Stack Trace

#0 [internal function]: XenForo_Application::handlePhpError(2, 'get_object_vars...', '/home/nadda/pub...', 80, Array)
#1 /home/nadda/public_html/library/DBTech/Security/3rdParty/functions_badbehavior.php(80): get_object_vars(Array)
#2 /home/nadda/public_html/library/DBTech/Security/3rdParty/bad-behavior/banned.inc.php(19): bb2_db_query('OPTIMIZE TABLE ...')
#3 /home/nadda/public_html/library/DBTech/Security/3rdParty/bad-behavior/core.inc.php(26): bb2_housekeeping(Array, Array)
#4 /home/nadda/public_html/library/DBTech/Security/3rdParty/bad-behavior/core.inc.php(124): bb2_banned(Array, Array, '582ec5e4')
#5 /home/nadda/public_html/library/DBTech/Security/XenForo/EventListener/FrontControllerPostView.php(66): bb2_start(Array)
#6 /home/nadda/public_html/library/XenForo/CodeEvent.php(90): DBTech_Security_XenForo_EventListener_FrontControllerPostView::listen(Object(XenForo_FrontController), '<!DOCTYPE html>...')
#7 /home/nadda/public_html/library/XenForo/FrontController.php(201): XenForo_CodeEvent::fire('front_controlle...', Array)
#8 /home/nadda/public_html/index.php(13): XenForo_FrontController->run()
#9 {main}

Request State

array(3) {
["url"] => string(65) "/members/viking2000.7647/recent-content"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
That could be the cause of the issue, I would recommend reverting to the files in the download.
 
The priority right now is stability, so there are no plans to change the version of BadBehavior shipped with the modification at this time.
 
Hello Nirjonadda,

This ticket has now been closed with the status Not A Bug.

We hope your issue or question has been addressed to your satisfaction. If not, please feel free to re-open it by clicking this link.

If you have any further issues or questions, please feel free to start a new support ticket via the button at the top of every page.

Thank you!
 
Status
Not open for further replies.

DragonByte Security

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
2,177
Customer rating
5.00 star(s) 1 ratings
Back
Top