Bug with WP comment trigger
-
Hi @sanaconeltantra ,
Sorry to hear about the issue! We haven’t seen other issues with that trigger, but I wonder if you could try right-clicking the page, choosing Inspect, and letting us know what you see in the Javascript Console tab when you get that loading icon. I can also get our developers to comment Monday. I can’t reproduce it in our test environment with the same trigger, so if you do see any related errors in the server error log that would be really helpful to know too.
Thanks for your quick reply.
I do have this error triggered in the console when I click on a post and same error on another unused website which is still on WP 5.5.5 :
load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=5.7.2:2 POST https://mycsite/wp-admin/admin-ajax.php 400
send @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=5.7.2:2
ajax @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=5.7.2:2
s.ajax.s.ajax @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=5.7.2:5
x @ Utilities.js:1461
value @ Field.js:1236
a @ Field.js:1094
(anonymous) @ Field.js:1153
dispatch @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=5.7.2:2
v.handle @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=5.7.2:2
trigger @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=5.7.2:2
(anonymous) @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=5.7.2:2
each @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=5.7.2:2
each @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=5.7.2:2
trigger @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=5.7.2:2
value @ Field.js:1394
(anonymous) @ ItemOptions.js:91
each @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=5.7.2:2
value @ ItemOptions.js:79
value @ ItemOptions.js:59
ItemOptions @ ItemOptions.js:35
(anonymous) @ ItemHeaderSentence.js:100
dispatch @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=5.7.2:2
v.handle @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,backbone,moxiejs,plupload&ver=5.7.2:2FYI I get the same error with this trigger A user’s post receives a comment so it looks related to comments only.
No problem to trigger that event when using AutomatorWP but I’d rather use your plugin 🙂
NB : I don’t have anything written in the error or debug logs on the server.- This reply was modified 2 years, 10 months ago by sanaconeltantra.
Sorry @sanaconeltantra , we did trace the issue. It happens because for this trigger there is unfortunately a dependency on the Pro version that shouldn’t be there, that’s why we couldn’t immediately reproduce it and why we probably haven’t seen other reports. We are in the process of making changes on our side but we will probably hold on a public fix until 3.1. In the interim, are you okay if we provide modified files for you to upload to your environment so that you will be able to use this properly?
@uncannyowl I am glad you could reproduce the error.
Yes of course I can upload an unofficial version in the meantime thanks!Thanks for your patience. A fix for you to try has been made available here: https://we.tl/t-MhNEmtL0Dw
You can upload that by FTP, replacing the existing version, at this location:
wp-content\plugins\uncanny-automator\src\integrations\wp\helpersPlease let us know if you continue to experience any issues after that change.
Great! Thanks for the quick fix, it works perfectly 🙂
- The topic ‘Bug with WP comment trigger’ is closed to new replies.
(@sanaconeltantra)
2 years, 10 months ago
Hi guys!
Great plugin so far.
My only issue is with the trigger A user submits a comment on a post.
When I click on a post, I get a circle icon looping infinitely next to Post type.
No issue retrieving the post types for other triggers like A user publishes a type of post.
I tried with Twenty Nineteen and all plugins deactivated with no luck so it looks like a bug to me but I’m no expert 🙂
Let me know what I can try, thanks.