StRonK
Active member
I recieve the error below when I click the delete promotion option
Code:
Warning: Uncaught exception 'ErrorException' with message 'Undefined variable: db' in /home/jvkkbbnf/public_html/library/EWRporta/Model/Promotes.php:95 Stack trace: #0 /home/jvkkbbnf/public_html/library/EWRporta/Model/Promotes.php(95): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/jvkkbbnf/...', 95, Array) #1 /home/jvkkbbnf/public_html/library/EWRporta/ControllerPublic/Thread.php(96): EWRporta_Model_Promotes->updatePromotion(Array) #2 /home/jvkkbbnf/public_html/library/XenForo/FrontController.php(310): EWRporta_ControllerPublic_Thread->actionPromote() #3 /home/jvkkbbnf/public_html/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #4 /home/jvkkbbnf/public_html/index.php(13): XenForo_FrontController->run() #5 {main} thrown in /home/jvkkbbnf/public_html/library/EWRporta/Model/Promotes.php on line 95
Fatal error: Call to a member function query() on a non-object in /home/jvkkbbnf/public_html/library/EWRporta/Model/Promotes.php on line 95