• 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)
  • 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.

    … 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.