Title: Error in widget PHP file
Last modified: November 8, 2017

---

# Error in widget PHP file

 *  [pandorino](https://wordpress.org/support/users/pandorino/)
 * (@pandorino)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/error-in-widget-php-file/)
 * We’ve spotted an error on line 83 of the file `widget-twitter.php`
 * the JS file is called beginning with a slash, that results in an error on some
   servers.
 * `wp_enqueue_script( 'do-etfw-twitter-widgets', DO_ETFW_URI . '/js/twitter-widgets.
   js', array( 'jquery' ), '1.0', true );`
 * the JS file should be called without the slash, so:
 * `wp_enqueue_script( 'do-etfw-twitter-widgets', DO_ETFW_URI . 'js/twitter-widgets.
   js', array( 'jquery' ), '1.0', true );`
 * We had the problem on CDN but was working fine on local installation.

Viewing 1 replies (of 1 total)

 *  Plugin Author [DesignOrbital](https://wordpress.org/support/users/designorbital/)
 * (@designorbital)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-in-widget-php-file/#post-9800895)
 * Hi,
 * Thanks for your help.
    We have fixed the double slash issue.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Error in widget PHP file’ is closed to new replies.

 * ![](https://ps.w.org/easy-twitter-feed-widget/assets/icon-256x256.png?rev=1025015)
 * [Easy Twitter Feed Widget Plugin](https://wordpress.org/plugins/easy-twitter-feed-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-twitter-feed-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-twitter-feed-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-twitter-feed-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-twitter-feed-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-twitter-feed-widget/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [DesignOrbital](https://wordpress.org/support/users/designorbital/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/error-in-widget-php-file/#post-9800895)
 * Status: not a support question