Title: Fatal Error on Testing
Last modified: August 30, 2016

---

# Fatal Error on Testing

 *  Resolved [LoganSix](https://wordpress.org/support/users/logansix/)
 * (@logansix)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-on-testing/)
 * When I try to test, I get
 * > Fatal error: Call to undefined function yourls_api_expand() in /hermes/bosoraweb133/
   > b2622/ipg.deanlogiccom/wp-content/plugins/wp-to-twitter/wp-to-twitter-shorteners.
   > php on line 310
 * I got confirmation that my YOURLs setup was correct.
 * > YOURLS signature token updated.YOURLS local server path added. YOURLS will 
   > use your custom keyword for short URL slug.
 * I’m not sure what the issue is.
 * [https://wordpress.org/plugins/wp-to-twitter/](https://wordpress.org/plugins/wp-to-twitter/)

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

 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-on-testing/#post-6245144)
 * That sounds like you’re using an unsupported version of YOURLs; what version 
   do you have installed?
 *  Thread Starter [LoganSix](https://wordpress.org/support/users/logansix/)
 * (@logansix)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-on-testing/#post-6245145)
 * I have v1.7 of YOURLs
 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-on-testing/#post-6245177)
 * Hmm. Well, that should be fine. That would suggest that the load of Yourls isn’t
   working; which would mean that the file path you have entered in your settings
   isn’t correct. Verify that file path and see if it’s correct.
 *  Thread Starter [LoganSix](https://wordpress.org/support/users/logansix/)
 * (@logansix)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-on-testing/#post-6245183)
 * > WP to Twitter was unable to contact your selected URL shortening service.
   >  
   > No error message was returned.
 * That’s the error I get when the URL isn’t correct.
 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-on-testing/#post-6245233)
 * What do you mean by “URL”? If you have a URL loaded in the YOURLS settings, rather
   than file path, then you would be using YOURLS as a remote service, not as a 
   local service; in which case that function shouldn’t ever be loaded at all. Can
   you submit a support request, so I can ask for a screenshot of your settings?(
   I don’t want you to share your settings in a public forum.)
 *  Thread Starter [LoganSix](https://wordpress.org/support/users/logansix/)
 * (@logansix)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-on-testing/#post-6245235)
 * Okay, just noticed that I was only supposed to fill in the local service and 
   not both URI.
 * So, without posting the exact information, for my local server I point to the
   config file at
    **/home/users/web/mysiteid/mysite/yourls/user/config.php**
 * I put in an echo to see what directory your script was looking for ‘load-yourls.
   php’ and it gives me this:
    **/home/users/web/mysiteid/mysite/y/user**
 * However, the ‘load-yours.php’ file is actually in
    **/home/users/web/mysiteid/
   mysite/y/includes**
 * But, even hardcoding the full path to the load-yourls.php file still gives me
   the error
 * > WP to Twitter was unable to contact your selected URL shortening service.
   >  
   > No error message was returned.
 * So, there must still be something not right. But, it was never finding the ‘load-
   yourls.php’ file
 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-on-testing/#post-6245254)
 * Hi – I responded to your email, but haven’t heard back; did you get that message?
 *  Thread Starter [LoganSix](https://wordpress.org/support/users/logansix/)
 * (@logansix)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-on-testing/#post-6245255)
 * Yes. But, you said that you would look into it, so I didn’t see a need to respond
   at that moment. It was a busy weekend.

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

The topic ‘Fatal Error on Testing’ is closed to new replies.

 * ![](https://ps.w.org/wp-to-twitter/assets/icon-256x256.png?rev=2997308)
 * [XPoster - Share to Bluesky and Mastodon](https://wordpress.org/plugins/wp-to-twitter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-to-twitter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-to-twitter/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-to-twitter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-to-twitter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-to-twitter/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [twitter](https://wordpress.org/support/topic-tag/twitter/)
 * [yourls](https://wordpress.org/support/topic-tag/yourls/)

 * 8 replies
 * 2 participants
 * Last reply from: [LoganSix](https://wordpress.org/support/users/logansix/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-on-testing/#post-6245255)
 * Status: resolved