Warning php message on load my site

Hi,

I’m writing you because I did what I found through the forum comments but still I’ve the same message.

If I’m logged in as an admin I can view the site without any problem, but i f I visit the site as a normal user I get this message

Warning: include(1): failed to open stream: No such file or directory in /homepages/32/d648112501/htdocs/clickandbuilds/ADDSynergy/wp-includes/template-loader.php on line 74

Warning: include(): Failed opening '1' for inclusion (include_path='.:/usr/lib/php7.0') in /homepages/32/d648112501/htdocs/clickandbuilds/ADDSynergy/wp-includes/template-loader.php on line 74

I added to the wp-config.php this:

define('WP_DEBUG', false);

But nothing.

My site is https://www.addsynergy.com/

Can you help me please?

Hey There,

Would you mind providing us with login credentials so we can take a closer look? Please provide following information:

Set it as Secure Note

  • Link to your site
  • WordPress Admin username / password
  • FTP credentials

All the best!

I set a secure note with the info

Hey @pinxe,

get_template_directory() function was unable to fetch the X theme for some reason. So I deactivated and activated the X theme and that did the trick :slight_smile:

Now normal users can visit your website without any problem.

Cheers

Great!! Thanks a lot

You’re most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.