WordPress.org

Forums

[resolved] Fatal error: fatal flex scanner internal error--end of buffer missed .. (5 posts)

  1. piccs3o
    Member
    Posted 2 years ago #

    Hi Folks.

    I am a newbie and have made a dumb error somewhere.
    I made a mod to the functions.php of my child theme and get the following error

    Fatal error: fatal flex scanner internal error--end of buffer missed in /home4/stocast1/public_html/wp-content/themes/twentytenmockery/functions.php on line 14

    I was attempting to add the following to the functions.php folder to match the content_width to changes I had made in style.css

    * Used to set the width of images and content. Should be equal to the width the theme
    * is designed for, generally via the style.css stylesheet.
    */
    if ( ! isset( $content_width ) )
    $content_width = 740;

    and got the error noted above.

    Problem is-I have removed the code completely to put the folder back as it was but I still get the error.

    Can anyone point out what I did wrong

    The site link is

    http://www.stocastica.com/themockery

    I am part way through modifying the theme so it looks kind of messy right now.

  2. piccs3o
    Member
    Posted 2 years ago #

    which has just got more 'interesting' in that I can no longer access the site admin either. I have tried going in via Super-Admin from another site I run but get to the Backend but I now exactly the same error so it may not be the child theme after all?
    I logged out and shut down the browser first just in case I was getting a cached response.
    Very confused now...? :(

  3. piccs3o
    Member
    Posted 2 years ago #

    Well I solved it by rebuilding the functions.php via the CPanel.

    Any other newbie who swings by I hope this helps

  4. jcnetsys
    Member
    Posted 1 year ago #

    It is possible to get that error without doing anything wrong (i've had that before) after a refresh it usually disappears though.

  5. zomblogs
    Member
    Posted 1 year ago #

    This just happened to me.. :( What CPanel are you talking about?

Topic Closed

This topic has been closed to new replies.

About this Topic