Title: PHP error on page
Last modified: December 14, 2016

---

# PHP error on page

 *  [Peter Arthur](https://wordpress.org/support/users/peterdarthur/)
 * (@peterdarthur)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-error-on-page-2/)
 * It looks like the path for an included file is adding an extra “/”. See the error
   message:
 * Warning: include(/home/public_html/wp-content/plugins/add-facebook/public/templates//
   template.php): failed to open stream: No such file or directory in /home/housto87/
   public_html/wp-content/plugins/add-facebook/public/classes/class-smuzsf-public.
   php on line 83
 * Warning: include(): Failed opening ‘/home/public_html/wp-content/plugins/add-
   facebook/public/templates//template.php’ for inclusion (include_path=’.:/usr/
   local/php70/pear’) in /home/housto87/public_html/wp-content/plugins/add-facebook/
   public/classes/class-smuzsf-public.php on line 83
 * Let me know if you can’t reproduce the issue in WP 4.7, and I can check my Facebook
   Id / App / Secret to see if those are causing any issues.

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

 *  [jakemc](https://wordpress.org/support/users/jakemc/)
 * (@jakemc)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/php-error-on-page-2/#post-8728594)
 * The two slashes should be separated by the content of a variable $theme. However,
   when setting up your feed in wp-admin, the default theme isn’t automatically 
   selected. Select and update and it worked for me.
 *  [jakemc](https://wordpress.org/support/users/jakemc/)
 * (@jakemc)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/php-error-on-page-2/#post-8728599)
 * … or I should say that it *didn’t* then work for me, but it stopped the error
   occurring…

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

The topic ‘PHP error on page’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/add-facebook_383c54.svg)
 * [Social Feed | All social media in one place](https://wordpress.org/plugins/add-facebook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/add-facebook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/add-facebook/)
 * [Active Topics](https://wordpress.org/support/plugin/add-facebook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/add-facebook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/add-facebook/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jakemc](https://wordpress.org/support/users/jakemc/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/php-error-on-page-2/#post-8728599)
 * Status: not resolved