Title: Plugin causing 404 errors
Last modified: December 3, 2018

---

# Plugin causing 404 errors

 *  Resolved [levdesign](https://wordpress.org/support/users/levdesign/)
 * (@levdesign)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/plugin-causing-404-errors-2/)
 * I’m using the Send Emails with Mandrill plugin (version 1.1) on WordPress 4.9.8.
 * I’m getting several 404 errors on the developer console related to the plugin(
   as shown below). Are you familiar with the cause of these errors and do you have
   any suggestions for fixing them?
 * Thank you.
    ————————————————————————————–
 * GET [https://&#8230](https://&#8230);.org/wp-content/plugins/send-emails-with-
   mandrill/lib/css/mandrill.css?ver=4.9.8 net::ERR_ABORTED 404
    load-scripts.php?
   c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,
   jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-u&load[]=i-resizable,
   jquery-ui-button,jquery-ui-dialog&ver=4.9.8:9 JQMIGRATE: Migrate is installed,
   version 1.4.1 (index):553 GET [https://&#8230](https://&#8230);.org/wp-content/
   plugins/send-emails-with-mandrill/lib/js/flot/jquery.flot.stack.js net::ERR_ABORTED
   404 (index):552 GET [https://&#8230](https://&#8230);.org/wp-content/plugins/
   send-emails-with-mandrill/lib/js/flot/jquery.flot.js net::ERR_ABORTED 404 (index):
   1482 GET [https://&#8230](https://&#8230);.org/wp-content/plugins/send-emails-
   with-mandrill/lib/js/mandrill.js net::ERR_ABORTED 404 (index):554 GET [https://&#8230](https://&#8230);.
   org/wp-content/plugins/send-emails-with-mandrill/lib/js/flot/jquery.flot.resize.
   js net::ERR_ABORTED 404 (index):553 GET [https://&#8230](https://&#8230);.org/
   wp-content/plugins/send-emails-with-mandrill/lib/js/flot/jquery.flot.stack.js
   net::ERR_ABORTED 404 (index):554 GET [https://&#8230](https://&#8230);.org/wp-
   content/plugins/send-emails-with-mandrill/lib/js/flot/jquery.flot.resize.js 404(
   index):1482 GET [https://&#8230](https://&#8230);.org/wp-content/plugins/send-
   emails-with-mandrill/lib/js/mandrill.js 404 (index):606 Uncaught TypeError: jQuery.
   plot is not a function at HTMLDocument.<anonymous> ((index):606) at i (load-scripts.
   php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,
   jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-u&load[]=i-resizable,
   jquery-ui-button,jquery-ui-dialog&ver=4.9.8:2) at Object.add [as done] (load-
   scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-
   ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-u&load[]
   =i-resizable,jquery-ui-button,jquery-ui-dialog&ver=4.9.8:2) at n.fn.init.n.fn.
   ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-
   widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,
   jquery-u&load[]=i-resizable,jquery-ui-button,jquery-ui-dialog&ver=4.9.8:2) at
   a.fn.init.n.fn.init (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,
   jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-
   draggable,jquery-u&load[]=i-resizable,jquery-ui-button,jquery-ui-dialog&ver=4.9.8:
   2) at new a.fn.init (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,
   jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-
   draggable,jquery-u&load[]=i-resizable,jquery-ui-button,jquery-ui-dialog&ver=4.9.8:
   9) at n (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-
   ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,
   jquery-u&load[]=i-resizable,jquery-ui-button,jquery-ui-dialog&ver=4.9.8:2) at
   HTMLDocument.<anonymous> ((index):601) at HTMLDocument.dispatch (load-scripts.
   php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,
   jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-u&load[]=i-resizable,
   jquery-ui-button,jquery-ui-dialog&ver=4.9.8:3) at HTMLDocument.r.handle (load-
   scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-
   ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-u&load[]
   =i-resizable,jquery-ui-button,jquery-ui-dialog&ver=4.9.8:3)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [levdesign](https://wordpress.org/support/users/levdesign/)
 * (@levdesign)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/plugin-causing-404-errors-2/#post-10942210)
 * In my previous error report, I noticed I’ve copied some extra lines from the 
   console error log, so please ignore the lines after:
    (index):1482 GET [https://….org/wp-content/plugins/send-emails-with-mandrill/lib/js/mandrill.js](https://….org/wp-content/plugins/send-emails-with-mandrill/lib/js/mandrill.js)
   404
 *  Plugin Contributor [Cornel Raiu](https://wordpress.org/support/users/cornelraiu-1/)
 * (@cornelraiu-1)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/plugin-causing-404-errors-2/#post-10977721)
 * Hi. I am doing a pull request on the github repo for the plugin.
    In the meanwhile,
   you can go in the plugin folder /lib/wpMandrill.class.php
 * And replace:
 * – line 143 with:
    `wp_register_script('flot', SEWM_URL . 'js/flot/jquery.flot.
   js', array('jquery'), null, true);`
 * – line 144 with:
    `wp_register_script('flotstack', SEWM_URL . 'js/flot/jquery.
   flot.stack.js', array('flot'), null, true);`
 * -line 145 with:
    `wp_register_script('flotresize', SEWM_URL . 'js/flot/jquery.
   flot.resize.js', array('flot'), null, true);`
 * -line 153 with:
    `wp_register_style( 'mandrill_stylesheet', SEWM_URL . 'css/mandrill.
   css' );`
 * – line 155 with:
    `wp_register_script('mandrill', SEWM_URL . 'js/mandrill.js',
   array(), null, true);`
 * Instead of using the `plugins_url()` function to get the URL path to the files,
   you should use the constant variable `SEWM_URL` that is defined in the wpmandrill.
   php file in the root of the plugin .
    -  This reply was modified 7 years, 4 months ago by [Cornel Raiu](https://wordpress.org/support/users/cornelraiu-1/).
 *  Plugin Contributor [Cornel Raiu](https://wordpress.org/support/users/cornelraiu-1/)
 * (@cornelraiu-1)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/plugin-causing-404-errors-2/#post-10977734)
 * Just saw that there are some more paths that need to be fixed. Let me know if
   you’d like me to send you the whole list of changes
 *  [joncampbell](https://wordpress.org/support/users/joncampbell/)
 * (@joncampbell)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-causing-404-errors-2/#post-11003675)
 * [@cornel](https://wordpress.org/support/users/cornel/),
    Any chance you can send
   me the fixed files?
 *  [Dan Waldschmidt](https://wordpress.org/support/users/danielpw/)
 * (@danielpw)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/plugin-causing-404-errors-2/#post-11096382)
 * Any updates on this getting fixed in the plugin? We are experiencing the same
   issue and would prefer the fix be implemented by the plugin developer instead
   of doing it ourselves and risk the changes being overwritten the next time an
   update is released.
 *  Plugin Author [Matt Miller](https://wordpress.org/support/users/millermedianow/)
 * (@millermedianow)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-causing-404-errors-2/#post-11212085)
 * Hi there, sorry! We have not been receiving e-mail alerts from this support forum.
   We are working on updating the plugin and will get pull requests reviewed and
   merged promptly. Thanks for the patience everyone!
 *  Plugin Author [Matt Miller](https://wordpress.org/support/users/millermedianow/)
 * (@millermedianow)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-causing-404-errors-2/#post-11212089)
 * The pull request has just been merged in, thanks for the contribution. We are
   working on a few more updates and will submit a new version to the WP Repository
   shortly.
 *  Plugin Author [Matt Miller](https://wordpress.org/support/users/millermedianow/)
 * (@millermedianow)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-causing-404-errors-2/#post-11212206)
 * This has been merged and updated in the latest version. Thanks for the contributions!
 * FYI [@cornelraiu-1](https://wordpress.org/support/users/cornelraiu-1/) I have
   added you as a contributor to the plugin based on your pull request.
 * And for everyone in this thread, if you haven’t yet, can you please give us a
   nice rating so we can start ranking higher in the search results. We want to 
   make this open-source contribution more visible to the community so we can continue
   to improve it. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Plugin causing 404 errors’ is closed to new replies.

 * ![](https://ps.w.org/send-emails-with-mandrill/assets/icon-256x256.png?rev=1920659)
 * [Send Emails with Mandrill](https://wordpress.org/plugins/send-emails-with-mandrill/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/send-emails-with-mandrill/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/send-emails-with-mandrill/)
 * [Active Topics](https://wordpress.org/support/plugin/send-emails-with-mandrill/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/send-emails-with-mandrill/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/send-emails-with-mandrill/reviews/)

 * 8 replies
 * 5 participants
 * Last reply from: [Matt Miller](https://wordpress.org/support/users/millermedianow/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-causing-404-errors-2/#post-11212206)
 * Status: resolved