Test mail feature not working.
-
Hi there,
I just updated your plugin Customer Reviews for WooCommerce
to the latest version today but when I tried sending out the test mail, the button clicks but doesn’t work. Please advice!Also, I would like to thank you for adding the role-based feature.
Thank you!
-
This topic was modified 6 years, 5 months ago by
sunny93021.
-
This topic was modified 6 years, 5 months ago by
-
Thanks for using our plugin!
Can you please let me know which error message did you get after trying to send a test email?
Hi,
This is also happening to me. There is no error message in my case. Everything looks normal but there’s no test email in my inbox. Also checked spam folder.
I am also not getting any error messages. It simply doesn’t work after we click the send button.
Also before it use to show a green success message after it was sent but now I don’t see it anymore.
It could be due to JavaScript errors. Can you please do the following?
1. Open your site in Google Chrome
2. Click on the “three dots” button in the top right corner
3. Navigate to “More Tools -> Developer Tools”
4. Chrome will show a sidebar
5. Go to “Console” tab on this sidebar
6. Try sending a test email
7. Check if there are any errors (red font) in the “Console” tabYes there are errors in the console!
Uncaught TypeError: Cannot read property ‘export_products’ of undefined
at HTMLDocument.<anonymous> (woocommerce_admin.min.js?ver=3.3.1:1)
at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,utils,moxiejs,plupload,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.8:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,utils,moxiejs,plupload,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.8:2)
at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,utils,moxiejs,plupload,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.8:2)
at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,utils,moxiejs,plupload,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.8:2)
(anonymous) @ woocommerce_admin.min.js?ver=3.3.1:1
i @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,utils,moxiejs,plupload,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.8:2
fireWith @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,utils,moxiejs,plupload,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.8:2
ready @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,utils,moxiejs,plupload,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.8:2
K @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,utils,moxiejs,plupload,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.8:2Okay, now the next step is to identify what is causing these JavaScript errors. Do you have any plugin for export of WooCommerce products installed?
Just installed your plugin, got same kind of problem :
woocommerce_admin.min.js?ver=3.3.5:1 Uncaught TypeError: Cannot read property ‘export_products’ of undefined
at HTMLDocument.<anonymous> (woocommerce_admin.min.js?ver=3.3.5:1)
at i (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable&ver=4.9.8:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable&ver=4.9.8:2)
at Function.ready (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable&ver=4.9.8:2)
at HTMLDocument.K (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable&ver=4.9.8:2)load-scripts.php?c=1&load[]=jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker,hoverIntent,common,admin-bar,svg-painter,heartbeat,&load[]=wp-auth-check,jquery-ui-position,jquery-ui-button,jquery-ui-menu&ver=4.9.8:284 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
at HTMLDocument.<anonymous> (load-scripts.php?c=1&load[]=jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker,hoverIntent,common,admin-bar,svg-painter,heartbeat,&load[]=wp-auth-check,jquery-ui-position,jquery-ui-button,jquery-ui-menu&ver=4.9.8:284)
at HTMLDocument.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable&ver=4.9.8:3)
at HTMLDocument.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable&ver=4.9.8:3)
at Object.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable&ver=4.9.8:3)
at Object.a.event.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable&ver=4.9.8:9)
at HTMLDocument.<anonymous> (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable&ver=4.9.8:3)
at Function.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable&ver=4.9.8:2)
at a.fn.init.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable&ver=4.9.8:2)
at a.fn.init.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable&ver=4.9.8:3)
at Object.<anonymous> (load-scripts.php?c=1&load[]=jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker,hoverIntent,common,admin-bar,svg-painter,heartbeat,&load[]=wp-auth-check,jquery-ui-position,jquery-ui-button,jquery-ui-menu&ver=4.9.8:283)And no email are sent.(No test, no email on review…),
also I tried to do the update but it didn’t fix anything.Yes I have three plugins :
-Wordpress Importer
-Wordpress Users & Woocommerce customers import export (Basic)
-WP All Export ProCan you please temporary deactivate these plugins and check if JavaScript errors remain?
We use them daily and it is in our live website. Also we have used these plugins before and we have even tested your plugin before and the test email was working fine. I don’t think anything has changed since then.
I don’t suggest you to permanently disable these plugins. Is it possible to temporarily disable them just for 5 minutes to test if JavaScript errors will still occur?
I ask you to do this because we need to identify the script causing the errors. Based on the error description that you provided, it looks like the error is related to some plugin for export of products (property ‘export_products’ is mentioned in the error).
@sunny93021, can you please let me know if you’ve had a chance to do the test with temporary deactivation of plugins?
Hi there, I am still thinking what to do as we do daily inventory and there are some custom codes which if I temporarily deactivate those plugins it could actually break the system. I am still thinking what to do as it is a difficult situation. Please do let me know if there is any other way we can handle this.
Another thought is that I already had these plugins when I installed it for the first time and the test email was working fine. So I don’t think anything changes after I made the update of your plugin.
Please help!
changed*
- The topic ‘Test mail feature not working.’ is closed to new replies.