What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

Bug Cannot Reproduce Call to undefined method XF\Mvc\Reply\Error::getThread()

apsmith21

Member
Posting a thread, but hadn't finished it yet, so has been sitting for 10 or 15 minutes and I get the following error in my log... (full URL omitted)

  • ErrorException: Fatal Error: Call to undefined method XF\Mvc\Reply\Error::getThread()
  • src/XF/Pub/Controller/Forum.php:496

Code:
Stack trace

#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state
array(4) {
  ["url"] => string(64) "/community/forums/premium-steelbook-seller-marketplace.349/draft"
  ["referrer"] => string(95) "http://.../community/forums/premium-steelbook-seller-marketplace.349/post-thread"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(12) {
    ["title"] => string(18) "[FOR SALE] BluFans"
    ["message_html"] => string(0) ""
    ["attachment_hash"] => string(32) "5ba9696afe2ed7f76a6d4540a738743f"
    ["attachment_hash_combined"] => string(83) "{"type":"post","context":{"node_id":349},"hash":"5ba9696afe2ed7f76a6d4540a738743f"}"
    ["custom_fields"] => array(5) {
      ["SteelbookSales_Offer"] => string(0) ""
      ["SteelbookSales_Price"] => string(0) ""
      ["SteelbookSales_Edition"] => string(0) ""
      ["SteelbookSales_Retailer"] => string(0) ""
      ["SteelbookSales_Condition"] => string(0) ""
    }
    ["tags"] => string(0) ""
    ["_xfSet"] => array(4) {
      ["watch_thread"] => string(1) "1"
      ["sticky_post"] => string(1) "1"
      ["discussion_open"] => string(1) "1"
      ["sticky"] => string(1) "1"
    }
    ["discussion_open"] => string(1) "1"
    ["_xfRequestUri"] => string(70) "/community/forums/premium-steelbook-seller-marketplace.349/post-thread"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Coz odly I don't have such a function call and there is no such function at that line.

You are running latest xF2 version ?
 
The problem is that the log doesn't seem complete, it's supposed to display all the trace from the error.

I was not able to reproduce and it's working fine for me so that's quite strange.
 
So to revisit this, it's happening quite frequently now that my users can accept payments (thanks for fixing that).

Do you want access to my error log or should I e-mail it to you? I have pages and pages of this error and would appreciate
it if we can get it resolved.

Thank you.

@MtoR
 
Access to your error log would be fine, though as I said earlier there is no reference to my add-on in the log so it's odd.
Did you check if it was indeed coming from my add-on ? (eg. by deactivating it temporarily and see how it goes).

Clément
 
Access to your error log would be fine, though as I said earlier there is no reference to my add-on in the log so it's odd.
Did you check if it was indeed coming from my add-on ? (eg. by deactivating it temporarily and see how it goes).

Clément

I did deactivate the add-on and the errors do go away - I can confirm that these errors are happening when a member creates a new thread / listing.

We could also try debugging perhaps? I left your ftp access active.
 

From bespoke add-on development to complex integrations and specialized enhancements, we offer a range of XenForo development services designed to help your community thrive.

Start discussing your needs
Back
Top
Cart