Title: Error in rpr_core.php file
Last modified: August 22, 2016

---

# Error in rpr_core.php file

 *  Resolved [Thorworx](https://wordpress.org/support/users/thorworx-1/)
 * (@thorworx-1)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-in-rpr_corephp-file/)
 * No recipe content was displaying at all.
 * Debug info:
 * `Warning: include(): Failed opening '/path_to/site/public_html/wp/wp-content/
   plugins/recipepress-reloaded/templates//recipe.php' for inclusion (include_path
   ='.:/usr/php/path/to/pear') in /path_to/site/public_html/wp/wp-content/plugins/
   recipepress-reloaded/php/class/rpr_core.php on line 602`
 * I fixed this by editing rpr_core (hardcoded the path to the template):
 *     ```
       [line 602]include($this->pluginDir . '/templates/rpr_default/recipe.php');
       //'.$this->option( 'rpr_template', 'rpr_default' ).'
       ```
   
 * [https://wordpress.org/plugins/recipepress-reloaded/](https://wordpress.org/plugins/recipepress-reloaded/)

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

 *  Thread Starter [Thorworx](https://wordpress.org/support/users/thorworx-1/)
 * (@thorworx-1)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-in-rpr_corephp-file/#post-5405361)
 * This issue was caused by a default template NOT being set upon installation. 
   I recommend that you set a default to avoid this issue.
 * It was not obvious in RPR Settings > Appearance that a default had not been set.
 * I never would have found out the problem without turning on WP debug.
 *  Plugin Author [Jan Koester](https://wordpress.org/support/users/dasmaeh/)
 * (@dasmaeh)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-in-rpr_corephp-file/#post-5405376)
 * Actually rpr_default should be set as default AND the code in line 602 should
   replace the option by ‘rpr_default’ in case the option string ist empty.
 * As I’m currently reworking the whole settings section I will take specila care
   of this. Thanks for reporting this issue.

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

The topic ‘Error in rpr_core.php file’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recipepress-reloaded_c4dbbe.svg)
 * [RecipePress Reloaded](https://wordpress.org/plugins/recipepress-reloaded/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recipepress-reloaded/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recipepress-reloaded/)
 * [Active Topics](https://wordpress.org/support/plugin/recipepress-reloaded/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recipepress-reloaded/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recipepress-reloaded/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jan Koester](https://wordpress.org/support/users/dasmaeh/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/error-in-rpr_corephp-file/#post-5405376)
 * Status: resolved