• Resolved piccs3o

    (@steve-kelsey)


    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

    https://www.stocastica.com/themockery

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter piccs3o

    (@steve-kelsey)

    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…? ??

    Thread Starter piccs3o

    (@steve-kelsey)

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

    Any other newbie who swings by I hope this helps

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

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error: fatal flex scanner internal error–end of buffer missed ..’ is closed to new replies.