Title: JS include errors on plugin configuration admin section
Last modified: August 31, 2016

---

# JS include errors on plugin configuration admin section

 *  Resolved [gescribano](https://wordpress.org/support/users/gescribano/)
 * (@gescribano)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/js-include-errors-on-plugin-configuration-admin-section/)
 * As you can see on the screen shot, the extensions static assets the plugin uses
   on the CMS are not loading. Maybe you are calculating the assets based on the
   physical path instead of using the WP constants or functions?
 * On my WP setup the wordpress folder is symlinked to my web server webroot folder,
   so that must be causing your code to create the assets url wrong.
 * [https://www.evernote.com/l/ANes9MvhKxBN74tn8F0ejpy_QP-3c1Iscas](https://www.evernote.com/l/ANes9MvhKxBN74tn8F0ejpy_QP-3c1Iscas)
 * Kindly,
    Gonzalo
 * [https://wordpress.org/plugins/advanced-access-manager/](https://wordpress.org/plugins/advanced-access-manager/)

Viewing 1 replies (of 1 total)

 *  [vasyl_m](https://wordpress.org/support/users/vasyl_m/)
 * (@vasyl_m)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/js-include-errors-on-plugin-configuration-admin-section/#post-7115264)
 * Hi **Gonzalo**,
 * Actually we do not do any hardcoding and use WordPress constant **WP_CONTENT_DIR**
   for that as well as **content_url()** function to get the URL to content root
   directory.
 * Did you figure out any solution?
 * Regards,
    Vasyl

Viewing 1 replies (of 1 total)

The topic ‘JS include errors on plugin configuration admin section’ is closed to
new replies.

 * ![](https://ps.w.org/advanced-access-manager/assets/icon-256x256.png?rev=3447421)
 * [Advanced Access Manager – Access Governance for WordPress](https://wordpress.org/plugins/advanced-access-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-access-manager/reviews/)

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 1 reply
 * 2 participants
 * Last reply from: [vasyl_m](https://wordpress.org/support/users/vasyl_m/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/js-include-errors-on-plugin-configuration-admin-section/#post-7115264)
 * Status: resolved