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!

  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.

Thread copy

Solari

New Member
(Uh, posted in wrong forum, please feel free to move to XF 1.5 forum, sorry!)

We are getting quite a few errors using Thread Copy on XF 1.5. I'm guessing it is slightly out of date since your page for it says 1.4.

It does work fine when admins copy threads but anyone else (even with permissions set) it throws server errors. Really odd.

Value is not unserializable

  1. XenForo_DataWriter->_castValueToType() in XenForo/DataWriter.php at line 721
  2. XenForo_DataWriter->_isFieldValueValid() in XenForo/DataWriter.php at line 643
  3. XenForo_DataWriter->set() in XFA/ThreadCopy/Extends/Model/Thread.php at line 59
  4. XFA_ThreadCopy_Extends_Model_Thread->xfa_tcopy_copy_thread() in XFA/ThreadCopy/Extends/Model/InlineMod/Thread.php at line 90
  5. XFA_ThreadCopy_Extends_Model_InlineMod_Thread->xfa_tcopy_copyThreads() in XFA/ThreadCopy/Extends/ControllerPublic/InlineMod/Thread.php at line 56
  6. XFA_ThreadCopy_Extends_ControllerPublic_InlineMod_Thread->actionCopy() in XenForo/FrontController.php at line 369
  7. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 152
  8. XenForo_FrontController->run() in /home/gators/public_html/swampgas/index.php at line 13

Any chance you can look into at least tweaking it to work on XF 1.5? I would be happy to compensate you for your trouble.

Thanks,
Ray
 
Hi
I move thread in correct forum
I will try to look this soon
Remember me if i forgot ;)
 
No problem. An update tho - admins are also affected so it doesn’t matter their user level. It’s very random in throwing errors.

Ray
 
We ended up having to turn this off since it kept throwing errors and messing up threads. Any update on this?

Thanks,
Ray
 
Hi sorry i was availible last week (lot of work IRL)
I will try to look this during this week
 
Maybe tomorrow if i can or during the week
But dont worry i dont forgot you ;)
 
In lirabry/XFA/ThreadCopy/Extends/Model/Thread.php

Can you try to replace this line

PHP:
  $threadDw->set('tags', $thread['tags']);

by

PHP:
  // $threadDw->set('tags', $thread['tags']);

And tell me if it solve your problem or not

If not paste me here new error please
 
Top