1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
Dismiss Notice
We have just posted about our product policy for XF2.
Click HERE to view it.

Thread copy

Discussion in 'Thread Copy' started by Solari, Apr 2, 2018.

  1. Solari

    Solari New Member

    Joined:
    Mar 12, 2018
    Messages:
    6
    Likes Received:
    0
    Adress:
    Country:
    Location on Map:
    (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
     
  2. Fredxd

    Fredxd Administrator
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    1,777
    Likes Received:
    403
    Adress:
    France
    Country:
    Location on Map:
    Hi
    I move thread in correct forum
    I will try to look this soon
    Remember me if i forgot ;)
     
  3. Solari

    Solari New Member

    Joined:
    Mar 12, 2018
    Messages:
    6
    Likes Received:
    0
    Adress:
    Country:
    Location on Map:
    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
     
  4. Solari

    Solari New Member

    Joined:
    Mar 12, 2018
    Messages:
    6
    Likes Received:
    0
    Adress:
    Country:
    Location on Map:
    We ended up having to turn this off since it kept throwing errors and messing up threads. Any update on this?

    Thanks,
    Ray
     
  5. Fredxd

    Fredxd Administrator
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    1,777
    Likes Received:
    403
    Adress:
    France
    Country:
    Location on Map:
    Hi sorry i was availible last week (lot of work IRL)
    I will try to look this during this week
     
  6. Solari

    Solari New Member

    Joined:
    Mar 12, 2018
    Messages:
    6
    Likes Received:
    0
    Adress:
    Country:
    Location on Map:
    Any luck?

    Ray
     
  7. Fredxd

    Fredxd Administrator
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    1,777
    Likes Received:
    403
    Adress:
    France
    Country:
    Location on Map:
    Maybe tomorrow if i can or during the week
    But dont worry i dont forgot you ;)
     
  8. Fredxd

    Fredxd Administrator
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    1,777
    Likes Received:
    403
    Adress:
    France
    Country:
    Location on Map:
    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
     
  9. Solari

    Solari New Member

    Joined:
    Mar 12, 2018
    Messages:
    6
    Likes Received:
    0
    Adress:
    Country:
    Location on Map:
    Will do and I'll report back.
     
  10. Solari

    Solari New Member

    Joined:
    Mar 12, 2018
    Messages:
    6
    Likes Received:
    0
    Adress:
    Country:
    Location on Map:
    So far so good! Thanks for taking care of this. : )

    Ray
     

Share This Page