Title: Displaying single.php error
Last modified: May 13, 2020

---

# Displaying single.php error

 *  Resolved [deuskaos](https://wordpress.org/support/users/deuskaos/)
 * (@deuskaos)
 * [6 years ago](https://wordpress.org/support/topic/displaying-single-php-error/)
 * Hi! Nice work but I have an error at admin:
 * The theme you are using does not contain the “while () : … endwhile;” loop in
   the “single.php” file. To use custom templates the theme must have this “while”
   loop type in its “single.php” file.
 * Im using Enfold.
    Regards

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

 *  Plugin Author [Andrea De Giovine](https://wordpress.org/support/users/andreadegiovine/)
 * (@andreadegiovine)
 * [6 years ago](https://wordpress.org/support/topic/displaying-single-php-error/#post-12828685)
 * Hi [@deuskaos](https://wordpress.org/support/users/deuskaos/), thanks for choosing
   my plugin
    Enfold theme is premium so I need you to send me a wetransfer (or 
   similar) using the contact form on my website (find the link in the plugin description).
   When I receive it I proceed with the update to include Enfold theme compatibility.
 * If you find the project interesting and you want to support me
    do not forget
   to [leave your review](https://wordpress.org/support/plugin/custom-post-types/reviews/#new-post)
   🙂
 *  Plugin Author [Andrea De Giovine](https://wordpress.org/support/users/andreadegiovine/)
 * (@andreadegiovine)
 * [6 years ago](https://wordpress.org/support/topic/displaying-single-php-error/#post-12832709)
 * 2.0.8 version include Enfold compatibility
 * If you find the project interesting and you want to support me
    do not forget
   to [leave your review](https://wordpress.org/support/plugin/custom-post-types/reviews/#new-post)
   🙂
 *  [atillase](https://wordpress.org/support/users/atillase/)
 * (@atillase)
 * [6 years ago](https://wordpress.org/support/topic/displaying-single-php-error/#post-12836818)
 * I noticed the same problem in the custom post type plugin by the same author.
   I had a while(…){…} in my PHP, the notification disappeared when I changed it
   to something like while(…):… endwhile;
 * It seems the code is scanning specifically for a while-endwhile loop
 *  Plugin Author [Andrea De Giovine](https://wordpress.org/support/users/andreadegiovine/)
 * (@andreadegiovine)
 * [6 years ago](https://wordpress.org/support/topic/displaying-single-php-error/#post-12847978)
 * Hi [@atillase](https://wordpress.org/support/users/atillase/)
    send me a Google
   Drive link (or similar) using the contact form on my website (find the link in
   the plugin description). When I receive it I proceed to check and resolve any
   incompatibilities. I’m waiting for you

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

The topic ‘Displaying single.php error’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-types/assets/icon.svg?rev=2955361)
 * [Custom post types, Custom Fields & more](https://wordpress.org/plugins/custom-post-types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-types/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-types/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Andrea De Giovine](https://wordpress.org/support/users/andreadegiovine/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/displaying-single-php-error/#post-12847978)
 * Status: resolved