Building a client’s site and have installed by NGG and Google Doc Embedder. Now I can’t upload using NGG. Known issue posted on the Google Doc Embedder support – NGG / GDE Conflict.
Really like NGG but I can’t expect the client to deactivate a plug-in every time they want to upload photos.
Any resolution to this problem?
Thanks for taking the time to review the documentation; there is indeed a conflict with NGG and GDE. Unfortunately it is one that appears to be on NGG’s end and I’m unable to work around the problem.
Last I tried (which admittedly was not recently) the error did not impeded functionality of NGG, but just showed an error message and I was still able to upload. If that is not the case anymore, perhaps further updates to NGG have worsened the issue. You are right not to expect the client to deactivate a plugin in order to use another. Unfortunately I’ve done everything I can conceive of to work around the issue without effect.
Thanks k3davis for the prompt reply. After reviewing your support forum for GDE and finding that the same fatal error results, I was hoping that someone at NGG had addressed the issue. Unfortunately, not at this point.
Would love to see this resolved as I see great benefits to clients utilizing both plugins and rather not have to choose. It isn’t a huge deal for me to deactivate/activate plugins until a fix is made. Clients on the other hand don’t want to deal with the backend – that’s why they hire someone to do it for them.
NGG – we need a fix for this.
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, “gde_conflict check” was given in /”path”/wordpress/wp-includes/plugin.php on line 395
Fatal error: Call to undefined function gde_t() in /”path”/plugins/google-document-embedder/gviewer.php on line 173
I track down the main issue as follow :
GDE includes functions at the top of gviewer.php:
Now, NGG has a couple of special AJAX calls (yes, will be rewritten in the future) to show a image (edit thumbnail) or upload a file, where it reload the WordPress functions via a second call (ngg-config.php), in this case all filter & action hooks will be executed again, but due to the fact that the “functions.php” are not yet loaded, PHP throw a error.
A simple,intermediate solution is to move gde_conflict_check() and gde_t() to gviewer.php, then it should work fine.
I need to recheck if it’s not better to use here the action hook “plugins_loaded” , I think here is the main problem at my side
Thanks for looking at this, Alex.
I’ve put this workaround in 1.9.8 beta 1 of GDE, which you can download from your plugin list if you haven’t disabled beta version checking. If anyone using NGG and GDE together wishes to test this out, please download and give feedback. Thank you!
An easy work around is to disable the flash uploader. You have to add the photos one at a time but it works and doesn’t produce any errors.
macombs – how do you disable the flash uploader? I’ve had a look and can’t work it out.
When you go to add gallery/image and then upload images tab there should be a button right next to the upload images button that says “disable flash upload”.
- The topic ‘[Plugin: NextGEN Gallery] Conflict with Google Doc Embedder – Can't Upload’ is closed to new replies.