• This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

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

xydrine

New Member
Joined
Oct 15, 2017
Messages
3
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!
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
5,753
Hi,

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

Clément
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
5,753
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
 

xydrine

New Member
Joined
Oct 15, 2017
Messages
3
Oh, hrm. Do you happen to know an easy workaround besides disabling one plugin or the other?

Thanks!
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
5,753
You would have to have the other add-on fixed by the developer.

Clément