1. 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.

Bug Not a bug "Undefined index: xfa_extmod_node_conf" resulting in double posts...

Discussion in 'Extended Moderation' started by xydrine, Jan 5, 2018.

  1. xydrine

    xydrine New Member

    Joined:
    Oct 15, 2017
    Messages:
    3
    Likes Received:
    0
    Adress:
    Country:
    Location on Map:
    Hi,

    We recently purchased and installed ExtendedModeration onto our forum and it's great! Really a great mod @MtoR - seriously.

    Anyway, recently we've had a bunch of double-posts which coincide with a server error log which tracks back to this xfa_extmod_node_conf undefined index. Here's a trace:

    Code:
    Server Error Log
    Error Info
    ErrorException: Undefined index: xfa_extmod_node_conf - library/XFA/ExtendedModeration/DataWriter/DiscussionMessage/Post.php:46
    Generated By: Unknown Account, 51 minutes ago
    Stack Trace
    #0 /usr/local/lsws/RDFMAIN/html/library/XFA/ExtendedModeration/DataWriter/DiscussionMessage/Post.php(46): XenForo_Application::handlePhpError(8, 'Undefined index...', '/usr/local/lsws...', 46, Array)
    #1 /usr/local/lsws/RDFMAIN/html/library/Brivium/ExtraPromotions/Model/UserPromotion.php(113): XFA_ExtendedModeration_DataWriter_DiscussionMessage_Post->save()
    #2 /usr/local/lsws/RDFMAIN/html/library/Brivium/ExtraPromotions/CronEntry/AnnouncementPromotion.php(20): Brivium_ExtraPromotions_Model_UserPromotion->createPostAnnouncement(Array, Array)
    #3 /usr/local/lsws/RDFMAIN/html/library/XenForo/Model/Cron.php(356): Brivium_ExtraPromotions_CronEntry_AnnouncementPromotion::AnnouncementPromotion(Array)
    #4 /usr/local/lsws/RDFMAIN/html/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
    #5 /usr/local/lsws/RDFMAIN/html/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_Cron->execute(Array, Array, 59.999999046326, '')
    #6 /usr/local/lsws/RDFMAIN/html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 59.999999046326, '', false)
    #7 /usr/local/lsws/RDFMAIN/html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, '60', '', false)
    #8 /usr/local/lsws/RDFMAIN/html/deferred.php(23): XenForo_Model_Deferred->run(false)
    #9 {main}
    Request State
    array(3) {
      ["url"] => string(36) "https://www.rdforum.org/deferred.php"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(3) {
        ["_xfRequestUri"] => string(25) "/index.php?threads/69590/"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    If you have a quick workaround (before posting a mod update) that'd be great - if not, can you please look into this?

    Thanks much!
     
  2. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    4,092
    Likes Received:
    628
    Hi,

    You don't have xfa_extmod_node_conf in the xf_node database table ?

    Clément
     
  3. xydrine

    xydrine New Member

    Joined:
    Oct 15, 2017
    Messages:
    3
    Likes Received:
    0
    Adress:
    Country:
    Location on Map:
    Hey @MtoR - yep, I do:

    xfn.png

    Any thoughts?

    Thanks!
     
  4. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    4,092
    Likes Received:
    628
    Hi,

    Ok, I hadn't checked in details the log.

    In fact, the problem is coming from the ExtraPromotions add-on. My code uses some data which is expected to be available in the extended code, ie. the whole forum table data.

    Apparently, the add-on doesn't provide all the data from the forum which is a bad thing for other add-ons.

    Clément
     
  5. xydrine

    xydrine New Member

    Joined:
    Oct 15, 2017
    Messages:
    3
    Likes Received:
    0
    Adress:
    Country:
    Location on Map:
    Oh, hrm. Do you happen to know an easy workaround besides disabling one plugin or the other?

    Thanks!
     
  6. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    4,092
    Likes Received:
    628
    You would have to have the other add-on fixed by the developer.

    Clément
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice