Recently when coding in PHP I got this error:
Fatal error: fatal flex scanner internal error–end of buffer missed in [file] on [line number]
Turns out it was because I forgot to close a comment block (forgot the */). Thought I’d post it here in case it helps someone.
whoa thanks!
It helped me too. Thanks. This error is not very understandable.
John, you are a life saver! I’ve been trying to figure out the problem for days and you nailed it. One small correction to the code and FIXED!
Thanks, Janet
John, the error points to the beginning of a comment block (/**) in the file.
what could it be please?
Dan, you sould end that comment block.
Hi there im having the same issue my error code is :
Fatal error: fatal flex scanner internal error–end of buffer missed in /home/lfcsemin/public_html/wp-includes/class-simplepie.php on line 1266
i went to the cpanel and in that php file all there is on that line is below:
/**
what should i do ? im a beginner big time . somebody said up on the thread to close the comment block . how do you do that ?
help please thank you
To close the comment block, add this line to the end of the file:
*/
on line 1266 there is : /**
on line 1267 there is : * Allows
the file ends there
Yes! Thank you, thank you for taking the time to share. Whew! And thanks to Google search, fixed the problem I accidentally created in mere minutes.