XF 1.1 Help

Sylar

Well-known member
Declaration of bdBank_Model_Attachment::prepareAttachmentConditions() should be compatible with that of XenForo_Model_Attachment::prepareAttachmentConditions()
  1. XenForo_Application::handlePhpError() in XenForo/Autoloader.php at line 119
  2. XenForo_Autoloader::autoload() in XenForo/Autoloader.php at line 119
  3. XenForo_Autoloader->autoload() in XenForo/Application.php at line 853
  4. XenForo_Application::autoload() in XenForo/Application.php at line 397
  5. XenForo_Application::resolveDynamicClass() in XenForo/Model.php at line 189
  6. XenForo_Model::create() in XenForo/Controller.php at line 101
  7. XenForo_Controller->getModelFromCache() in XenForo/ControllerPublic/Thread.php at line 1538
  8. XenForo_ControllerPublic_Thread->_getAttachmentModel() in XenForo/ControllerPublic/Thread.php at line 177
  9. XenForo_ControllerPublic_Thread->actionIndex() in EWRporta/ControllerPublic/Thread.php at line 9
  10. EWRporta_ControllerPublic_Thread->actionIndex() in XenForo/FrontController.php at line 310
  11. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  12. XenForo_FrontController->run() in /home/pbox/public_html/index.php at line 13
Got this error when viewing a thread. Also, the alerts are always at 0 for both. Help!
 
Open:

bdBank_Model_Attachment

search for
PHP:
[/S]
[S]public function prepareAttachmentConditions(array $conditions, array &$fetchOptions) {
replace with
PHP:
[/S]
[S]public function prepareAttachmentConditions(array $conditions, array $fetchOptions) {

this will stop the error, BUT i don't know if it have other side effects;)[/php][/S]
 
@ragtek where do I add that? Same to you brah @xfrocks! Is it in the file side, or in the ACP?
Also, is there any known errors in these templates:
screenrlr.png

I appreciate your continued support :)
 
Thank you very much! :D

Now, the real test: Do you know where I can add the following? I can't seem to find this file :(

Open:

bdBank_Model_Attachment

search for
PHP:
public function prepareAttachmentConditions(array $conditions, array &$fetchOptions) {
replace with
PHP:
public function prepareAttachmentConditions(array $conditions, array $fetchOptions) {

this will stop the error, BUT i don't know if it have other side effects;)
 
Top Bottom