weDevsOfficial / wedocs-plugin

A documentation plugin for WordPress
https://wordpress.org/plugins/wedocs/
GNU General Public License v2.0
195 stars 93 forks source link

Add new article doesn't work on wordpress 4.5 #5

Closed kaqfa closed 8 years ago

kaqfa commented 8 years ago

Add docs and Add section work fine, but whe I click Add article nothing is happened. Is this a bug? I tried to see the developer console and when I click the Add Article button, error message ReferenceError: event is not defined appears.

sekanderb commented 8 years ago

Hello Kaqfa, We use the plugin to serve our very own premium product documentation. The plugin is being used with WordPress 4.5.1 at http://docs.wedevs.com and http://wperp.com/documentation

We are unable to find such issue. Did you check for plugin conflicts?

enquirer32 commented 8 years ago

I have the same issue... in Console js debugger I get ReferenceError: event is not defined this is the admin-script.js:165:17

kaqfa commented 8 years ago

I don't know why but I'm sure this is not plugin conflicts, since I remove all other plugins and the issue is still there.

dkelm commented 8 years ago

I cannot add an article either. WordPress 4.6

billjenkins commented 8 years ago

Same issue for me too - WordPress 4.6.1 - The only other plug-in I've got installed is Akismet, and I'm running the twentysixteen theme.

And I just verified the 1 line fix in the pull requests does solve the problem. #10

billjenkins commented 8 years ago

There is a follow-on issue here. Appears to be minor and not impacting primary functionality. When I add an article I now observe an error in the JS Console:

10:23:44.804 TypeError: parentEvent is undefined .methods.addArticle/</<.success()admin-script.js:191 n.Callbacks/i()load-scripts.php:2 n.Callbacks/j.fireWith()load-scripts.php:2 wp.ajax.send/e</b.jqXHR<()load-scripts.php:297 n.Callbacks/i()load-scripts.php:2 n.Callbacks/j.fireWith()load-scripts.php:2 y()load-scripts.php:4 .send/c()load-scripts.php:4 1admin-script.js:191:29

tareq1988 commented 8 years ago

Guys, do you still have this problem?

dkelm commented 8 years ago

It works now. Thanks

On Nov 1, 2016 11:23 AM, "Tareq Hasan" notifications@github.com wrote:

Guys, do you still have this problem?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tareq1988/wedocs-plugin/issues/5#issuecomment-257650085, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZxm-5SqH90hDaq4BFr3rWXITyLNetxks5q54OVgaJpZM4IUNs0 .