Bug Shop & Credits conflicting with xenWord

Status
Not open for further replies.
I've seen a couple other threads related to xenWord and that this was fixable. I receive errors like this in my xF Admin panel:

ErrorException: Fatal Error: Cannot declare class XFCP_AVForums_Checkpoint_Model_Thread, because the name is already in use - library/XenForo/Application.php(528) : eval()'d code:1
Generated By: Cosmo, 18 minutes ago
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
["url"] => string(87) "https://curiouscosmos.com/wp-admin/customize.php?url=https%3A%2F%2Fcuriouscosmos.com%2F"
["_GET"] => array(1) {
["url"] => string(26) "https://curiouscosmos.com/"
}
["_POST"] => array(0) {
}
}

I've tested this extensively and ONLY receive errors like this when trying to use xenWord while DG Credits and/or DB Shop is active on xenForo. One or both enabled, doesn't matter, it breaks xenWord and shows these errors in the log.
 
Last edited:
This is a bug in XenWord the author has refused to fix: XenWord Pro [Paid] | Page 44 | XenForo Community

Sorry about that, nothing we can do on our end. The author was provided a fix that did not affect their mod, but refused to implement it. You can click that link to find the fix instructions. Feel free to also let the author know you would like this fix implemented.
 
Thanks for the fast response!

I followed up with LPH in this thread:
Customize page fails to load when widgets are enabled | Tux Reports Network

The plugin structure is different now than it was when you proposed the fixed, but I did find an instance of what you mentioned in class-xenword-xenforo.php. I made the changes there but still get this error (which you can see in the thread I linked).

Is there anything else I can do to troubleshoot this further? Both of these plugins are important to my site.
 
Er... Looks like my last post there is pending moderator approval. Here's what it says:

smcMCXW.png
 
You need to place the global $dependencies; after the { :)

PHP:
if (empty($GLOBALS['xfLoaded']))
{
	global $dependencies;
 
I want to kiss you on the mouth.

Ths seems to have worked perfectly and hopefully this will prompt XenWord to implement this fix. Such an easy change.
 
Yeah, I'm rather confused as to why he couldn't just add that one line. If another developer told me my product conflicted with his and I could fix it on my end, I would spend hours hacking away at the code to work around it. Being told exactly where to add a line of code should be way less work than that :P
 
Hello Brentnauer,

This ticket has now been closed with the status Not A Bug.

We hope your issue or question has been addressed to your satisfaction. If not, please feel free to re-open it by clicking this link.

If you have any further issues or questions, please feel free to start a new support ticket via the button at the top of every page.

Thank you!
 
Status
Not open for further replies.

DragonByte Credits

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
4,886
Customer rating
5.00 star(s) 5 ratings
Back
Top