Today I went to update some plugins on one WordPress installation but then I accidentally closed the tab while update was in process. When I went back to WP admin or (to blog homepage) I was getting this error: Briefly unavailable for scheduled maintenance. Check back in a minute.
Since I couldn’t access WP Admin my hands were tied and I could do anything. So I logged in at the FTP to see how the plugins folder looks like and is something damaged.
And in pubic_html folder I noticed file .maintenance. I made backup of it and then deleted it and reloaded the blog and – IT WAS WORKING AGAIN!
And WP admin was working again!
WordPress never stops amazing me!
Today, while I was working with jQuery I ran on this error Uncaught SyntaxError: Unexpected end of input while troubleshooting my code in Chrome. And since Chrome it didn’t report error on any specific line I had to Google for it 🙂
![Unexpected-end-of-input](https://geektnt.com/static/2011/12/Unexpected-end-of-input.gif)
Uncaught SyntaxError: Unexpected end of input
And after opening few pages I found out that this error codes happens when you forget closing “}”. That can happen often when writing JavaScript code.
Locating that is not easy, especially if you’r code is sloppy and you have a lot of it. Luckily my code is always very nicely written so I got it solved quickly. But in case your code is really messy or is compressed (with some JavaScript compressing tool like jscompress.com) you can copy/paste your JavaScript code into jsbeautifier.org, click on Beautify JavaScript (select the options you want on the right side of the screen first) and see if all of the indentations are correct.
Beautiful and Geeky.
Tags: Uncaught SyntaxError: Unexpected end of input, uncaught syntaxerror unexpected end of input line 1, unexpected end of input, uncaught, uncaught syntaxerror unexpected end of input, unexpected end of input line 1, javascript unexpected end of input line 1, javascript unexpected end of input, jquery unexpected end of input, syntaxerror: unexpected end of input, uncaught syntaxerror: unexpected end of input line 1, syntaxerror unexpected end of input, UncaughtSyntaxError:UnexpectedendofinputerrorinChrome|GeekTipsnTricks, decompression problem unexpected end of input file or i/o error, unexpected end of input js, uncaught syntaxerror unexpected end of input jquery, onclick unexpected end of input, decompression problem unexpected end of input file or i o error, unexpected end of input javascript line 1