Title: include not working
Last modified: August 14, 2018

---

# include not working

 *  [hsteigstra](https://wordpress.org/support/users/hsteigstra/)
 * (@hsteigstra)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/include-not-working/)
 * Hi,
    I have been using the old version without problems. In the new version apparently
   the include is not accepted. This is basicly my snippet:
 * include( ABSPATH . ‘wp-content/gd/include/prs-functions.php’);
    echo “Succes!”;
 * When using this snippet without the include, I get indeed the text “Succes!” 
   displayed. Adding the include, blanks my screen totally. Replacing ‘include’ 
   by ‘echo’, indeed displays the file location of the library-file.
 * What goes wrong here?

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

 *  Plugin Author [webcraftic](https://wordpress.org/support/users/webcraftic/)
 * (@webcraftic)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/include-not-working/#post-10690396)
 * Hi,
    I’m sorry, I needed to update other plugins. Now I’m back to you and can
   help you.
 * An error has occurred in the file being included. I can fix this error, just 
   send your php file to the email: [wordpress.webraftic@gmail.com](https://wordpress.org/support/topic/include-not-working/wordpress.webraftic@gmail.com?output_format=md)
 * Best regards, Alex
 *  [texas_dev90](https://wordpress.org/support/users/texas_dev90/)
 * (@texas_dev90)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/include-not-working/#post-11010467)
 * I am also trying to use this for include. Even a test of a single line echo does
   not display. Anything I can try?

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

The topic ‘include not working’ is closed to new replies.

 * ![](https://ps.w.org/insert-php/assets/icon-256x256.gif?rev=3475630)
 * [Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts](https://wordpress.org/plugins/insert-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [texas_dev90](https://wordpress.org/support/users/texas_dev90/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/include-not-working/#post-11010467)
 * Status: not resolved