Syntax error, unexpected token "<", expecting end of file Topic is solved

This forum is for general questions about extensions for Joomla! 3.x.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
mcwieger
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Mon Apr 11, 2011 2:27 pm

Syntax error, unexpected token "<", expecting end of file

Post by mcwieger » Mon Jan 17, 2022 2:08 pm

Today, without making changes, I got this error message on my site:

syntax error, unexpected token "<", expecting end of file

It happens on the homepage of my site, so probably in index.php. I checked this file and it is exactly the same as the default index.php in the installation package.

What could be the matter?
Last edited by toivo on Mon Jan 17, 2022 9:10 pm, edited 1 time in total.
Reason: mod note: moved from 3.x General Questions

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 27896
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Syntax error, unexpected token "<", expecting end of file

Post by imanickam » Mon Jan 17, 2022 3:30 pm

If you had not made any changes to your site then it is a possibility that something changed in the host environment (e.g., php version).

You could check with your host about this.

In addition, you could make the Error Reporting to Maximum in the Global Configuration and see any other additional information is displayed.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
ex-Joomla! Translations Coordination Team
Eegan - Support the poor and underprivileged

mcwieger
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Mon Apr 11, 2011 2:27 pm

Re: Syntax error, unexpected token "<", expecting end of file

Post by mcwieger » Mon Jan 17, 2022 3:55 pm

Thanks. Apparently there was a change with a plugin that was installed, but it somehow did not take effect earlier. Disabled the plugin, site is back up.


Post Reply

Return to “Extensions for Joomla! 3.x”